Clone in a terminal:
Commit a8bc576
Johan Mattsson - 2016-06-14T17:45:23+00:00
a8bc57661312ee46b4d6bf000e01a83feaf7c0acjohan.mattsson.m@gmail.com

Redraw after switching from rsb to lsb in spacing tab

Changed files (2)

Diff

diff --git a/libbirdfont/KerningDisplay.vala b/libbirdfont/KerningDisplay.valaindex 9b30cc3..9c8a7ae 100644--- a/libbirdfont/KerningDisplay.vala+++ b/libbirdfont/KerningDisplay.vala@@ -572,6 +572,8 @@ public class KerningDisplay : FontDisplay { 			kd = (KerningDisplay) fd; 			kd.set_selected_handle (kd.selected_handle - 1);	 		}+		+		GlyphCanvas.redraw (); 	} 	 	public static void next_pair () {@@ -583,6 +585,7 @@ public class KerningDisplay : FontDisplay { 		 		if (fd is SpacingTab) { 			st = (SpacingTab) fd;+	 			if (st.right_side_bearing) { 				st.right_side_bearing = false; 			} else {@@ -593,6 +596,8 @@ public class KerningDisplay : FontDisplay { 			kd = (KerningDisplay) fd; 			kd.set_selected_handle (kd.selected_handle + 1);	 		}+		+		GlyphCanvas.redraw (); 	}  	private static string round (double d) {diff --git a/libbirdfont/SpacingClassTab.vala b/libbirdfont/SpacingClassTab.valaindex 44085e6..8331c3f 100644--- a/libbirdfont/SpacingClassTab.vala+++ b/libbirdfont/SpacingClassTab.vala@@ -32,7 +32,6 @@ public class SpacingClassTab : Table { 	} 	 	public static void set_class (string glyph) {-		print(@"G: $(glyph)\n"); 		if (current_class_first_element) { 			current_class.first = glyph; 		} else {

Contact

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