kopia lustrzana https://github.com/inkstitch/inkstitch
fix more runtime errors when simulator closes (#3101)
rodzic
44ba93a861
commit
c49e8d2f77
|
@ -277,9 +277,12 @@ class DrawingPanel(wx.Panel):
|
|||
return
|
||||
|
||||
if not self.animating:
|
||||
self.animating = True
|
||||
self.animate()
|
||||
self.control_panel.on_start()
|
||||
try:
|
||||
self.animating = True
|
||||
self.animate()
|
||||
self.control_panel.on_start()
|
||||
except RuntimeError:
|
||||
pass
|
||||
|
||||
def color_to_pen(self, color):
|
||||
line_width = global_settings['simulator_line_width'] * PIXELS_PER_MM * self.PIXEL_DENSITY
|
||||
|
|
Ładowanie…
Reference in New Issue