From 7b5995c7052c8fe2b67944fea75b8ec543464be1 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Mon, 10 Sep 2018 23:06:18 -0400 Subject: fix logic --- lib/simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/simulator.py') 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() -- cgit v1.2.3