Clone in a terminal:
Commit 0bbb34d
Johan Mattsson - 2017-01-10T19:06:11+00:00
0bbb34db276035228cddeca2dd6fb2c10db24e36johan.mattsson.m@gmail.com

Update boundaries after undo

Changed files (1)

Diff

diff --git a/libbirdfont/Glyph.vala b/libbirdfont/Glyph.valaindex 770a9c0..5081bdf 100644--- a/libbirdfont/Glyph.vala+++ b/libbirdfont/Glyph.vala@@ -1813,6 +1813,7 @@ public class Glyph : FontDisplay { 		undo_list.remove_at (undo_list.size - 1);  		DrawingTools.update_layers ();+		 		PenTool.update_selected_points ();  		clear_active_paths ();@@ -1867,6 +1868,11 @@ public class Glyph : FontDisplay { 			add_active_object (p); 		} +		PathList pl = LayerUtils.get_all_paths (layers);+		foreach (Path path in pl.paths) {+			path.update_region_boundaries ();+		}+ 		redraw_area (0, 0, allocation.width, allocation.height); 	} 

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112