The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Redraw after switching from rsb to lsb in spacing tab

These changes was commited to the Birdfont repository Tue, 14 Jun 2016 17:45:23 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Tue, 14 Jun 2016 17:45:23 +0000 (19:45 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Tue, 14 Jun 2016 17:45:23 +0000 (19:45 +0200)
commit a8bc57661312ee46b4d6bf000e01a83feaf7c0ac
tree 3dcc7607b3a7e376fddc8558c1ae9f61d6ed7b8f
parent cf58fd5cb41c9ee0485580fe1883bf28fcbc230f
Redraw after switching from rsb to lsb in spacing tab

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