The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Show orientation when path orientation changes

These changes was commited to the Birdfont repository Mon, 13 Apr 2015 22:04:20 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Mon, 13 Apr 2015 22:04:20 +0000]

Updated Files

libbirdfont/OrientationTool.vala
--- a/libbirdfont/OrientationTool.vala +++ b/libbirdfont/OrientationTool.vala @@ -31,28 +31,17 @@ foreach (Path p in g.active_paths) { p.reverse (); } - - GlyphCanvas.redraw (); - }); - panel_move_action.connect ((t, x, y) => { if (!Glyph.show_orientation_arrow && is_active ()) { - count_down = false; + count_down = true; Glyph.show_orientation_arrow = true; Glyph.orientation_arrow_opacity = 1; - GlyphCanvas.redraw (); - } - - return false; - }); - - move_out_action.connect ((t) => { - if (Glyph.show_orientation_arrow) { - count_down = true; - time = 6; + time = 10; fade_out (); GlyphCanvas.redraw (); } + + GlyphCanvas.redraw (); }); }