Skip to content

Commit

Permalink
2d bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
sjackso committed Jun 28, 2019
1 parent 76f34a7 commit 7f38cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/athena/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def zoom( self, delta ):
self._orient()

def resize(self, new_width, new_height):
new_ratio = new_width / new_height
new_ratio = new_width / (2 * new_height)
self._orient(new_ratio)

class CameraController3D(CameraController):
Expand Down

0 comments on commit 7f38cc3

Please sign in to comment.