- legacy graphic engine - made the mouse events work (click, release, doubleclick, dragging)
- legacy graphic engine - made the key events work (simple or with modifiers) - legacy graphic engine - made the mouse cursor work (enabled/disabled, position report); snapping is not moving the cursor yet
This commit is contained in:
@@ -117,7 +117,11 @@ class Geometry(object):
|
||||
self.old_disp_number = 0
|
||||
self.el_count = 0
|
||||
|
||||
self.temp_shapes = self.app.plotcanvas.new_shape_group()
|
||||
if self.app.is_legacy is False:
|
||||
self.temp_shapes = self.app.plotcanvas.new_shape_group()
|
||||
else:
|
||||
from flatcamGUI.PlotCanvasLegacy import ShapeCollectionLegacy
|
||||
self.temp_shapes = ShapeCollectionLegacy()
|
||||
|
||||
# if geo_steps_per_circle is None:
|
||||
# geo_steps_per_circle = int(Geometry.defaults["geo_steps_per_circle"])
|
||||
|
||||
Reference in New Issue
Block a user