phrack / ShootOFF-legacy

An open source framework to enhance laser dry fire training.
BSD 4-Clause "Original" or "Old" License
30 stars 17 forks source link

TclError: scale factor cannot be zero #135

Closed cbdmaul closed 9 years ago

cbdmaul commented 9 years ago

Added ISSF target. Resized verticle to zero.

Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1489, in call return self.func(*args) File "/home/ubuntu/ShootOFF/canvas_manager.py", line 170, in scale_region self._scale_region(event, c, is_polygon, is_image, self._selection) File "/home/ubuntu/ShootOFF/canvas_manager.py", line 199, in _scale_region event.widget.scale(region, c[0], c[1], 1, (height-size_incr)/height) File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 2399, in scale self.tk.call((self._w, 'scale') + args) TclError: scale factor cannot be zero