- in Geometry Editor fixed an angle issue in the Circle sub-tool

- in Geometry Editor made sure that when using the Move sub-tool if there is no shape selected, when clicking to get selection that point is also used as reference for the Move command
This commit is contained in:
Marius Stanciu
2022-05-02 15:29:44 +03:00
committed by Marius
parent 5e8cee8feb
commit 34d65a2077
3 changed files with 4 additions and 1 deletions

View File

@@ -1950,6 +1950,7 @@ class FCMove(FCShapeTool):
self.selection_shape = self.selection_bbox()
# self.draw_app.plot_all()
self.draw_app.app.inform.emit(_("Click on reference location ..."))
self.set_origin(point)
return
if self.origin is None:

View File

@@ -248,7 +248,7 @@ class CircleEditorUI:
self.angle_lbl = FCLabel('%s:' % _("Angle"))
self.angle_entry = FCDoubleSpinner()
self.angle_entry.set_precision(self.decimals)
self.angle_entry.set_range(0.0000, 360.0000)
self.angle_entry.set_range(-360.0000, 360.0000)
rad_grid.addWidget(self.angle_lbl, 2, 0)
rad_grid.addWidget(self.angle_entry, 2, 1)