Clone in a terminal:
Commit 1d0a55e
Johan Mattsson - 2017-01-02T13:21:17+00:00
1d0a55e1b3cb722856770f0f1dbf3e683c4c817ejohan.mattsson.m@gmail.com

Fix paste in overview tab

Changed files (1)

Diff

diff --git a/libbirdfont/OverView.vala b/libbirdfont/OverView.valaindex ea50f77..8786f71 100644--- a/libbirdfont/OverView.vala+++ b/libbirdfont/OverView.vala@@ -1723,6 +1723,7 @@ public class OverView : FontDisplay { 			} 			 			g.insert_glyph (glyph, true);+			update_path_boundaries (glyph); 			i++; 		} 		@@ -1732,6 +1733,12 @@ public class OverView : FontDisplay { 		GlyphCanvas.redraw (); 	} +	void update_path_boundaries (Glyph glyph) {+		foreach (Path p in glyph.get_all_paths ()) {+			p.update_region_boundaries ();+		}+	}+ 	public override bool needs_modifier () { 		return true; 	}@@ -1740,6 +1747,7 @@ public class OverView : FontDisplay { 		public AlternateSets alternate_sets = new AlternateSets (); 		public Gee.ArrayList<GlyphCollection> glyphs = new Gee.ArrayList<GlyphCollection> (); 	}+ }  }

Contact

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