diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-09-10 23:06:18 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-09-10 23:06:18 -0400 |
| commit | 7b5995c7052c8fe2b67944fea75b8ec543464be1 (patch) | |
| tree | 36fe532edb454f0bbe2720b6301b1bf0e655a7f0 | |
| parent | 9360e9b9304a6b9a50c5586a04ebf0a13859d5fe (diff) | |
fix logic
| -rw-r--r-- | lib/simulator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/simulator.py b/lib/simulator.py index 8f316be3..4408adb8 100644 --- a/lib/simulator.py +++ b/lib/simulator.py @@ -373,7 +373,7 @@ class DrawingPanel(wx.Panel): def choose_zoom_and_pan(self, event=None): # ignore if called before we load the stitch plan - if not self.width or not self.height: + if not self.width and not self.height: return panel_width, panel_height = self.GetClientSize() |
