Commit f695868
Update grid when lines are moved
Changed files (3)
Diff
@@ -60,7 +60,10 @@ Packages Windows binaries are avalilable at http://birdfont.org -A Ubuntu packages are avalilable at https://launchpad.net +Ubuntu packages are avalilable at https://launchpad.net + +A Fedora package can be installed from the rpm-sphere and a version for +OpenSuSE is available at http://software.opensuse.org A Machintosh binary image is available at http://birdfont.org and a GTK version for Mac can be installed with MacPorts. @@ -107,7 +107,7 @@ class GridTool : Tool { y = GlyfData.tie_to_ttf_grid_y (BirdFont.get_current_font (), y); } - private static void update_lines () {+ public static void update_lines () { Glyph g = MainWindow.get_current_glyph (); double step = size_y; double i;@@ -197,6 +197,10 @@ public class Line : GLib.Object { BirdFont.get_current_font ().touch (); } + if (GridTool.is_visible ()) {+ GridTool.update_lines ();+ }+ return move; }