Skip to content

Commit

Permalink
MAINT: Fix CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Apr 30, 2024
1 parent ab28cf2 commit 8396f9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: pyvistaqt-env
channels:
- conda-forge
dependencies:
- python<3.9
- python
- codecov
- ipython
- mypy
Expand Down
2 changes: 2 additions & 0 deletions pyvistaqt/rwi.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ def resizeEvent(self, ev):
scale = self._getPixelRatio()
w = int(round(scale*self.width()))
h = int(round(scale*self.height()))
if self._RenderWindow is None:
return
self._RenderWindow.SetDPI(int(round(72*scale)))
vtkRenderWindow.SetSize(self._RenderWindow, w, h)
self._Iren.SetSize(w, h)
Expand Down

0 comments on commit 8396f9e

Please sign in to comment.