Commit 63fe68e
bugfix: select path
Changed files (2)
Diff
@@ -753,7 +753,7 @@ class Path { } public bool is_over_boundry_precision (double x, double y, double p) {- if (unlikely (ymin == double.MAX)) {+ if (unlikely (ymin == double.MAX || ymin == 10000)) { warning (@"no bounding box. length ($(points.length ()))"); update_region_boundries (); }@@ -154,12 +154,15 @@ class Toolbox : GLib.Object { } precision.new_value_action.connect ((self) => {- pen_tool.set_precision (self.get_value ()); select_tool (precision); Preferences.set ("precision", self.get_display_value ()); redraw ((int) precision.x, (int) precision.y, 70, 70); });++ precision.select_action.connect((self) => {+ pen_tool.set_precision (((SpinButton)self).get_value ());+ }); precision.set_min (0.001); precision.set_max (1);