The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Merge ../birdfont-2.x

These changes was commited to the Birdfont repository Sun, 15 May 2016 13:59:32 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sun, 15 May 2016 13:59:32 +0000]

Updated Files

libbirdfont/OverView.vala
libbirdfont/OverviewTools.vala
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -51,7 +51,7 @@ string search_query = ""; - Gee.ArrayList<OverViewItem> visible_items = new Gee.ArrayList<OverViewItem> (); + public Gee.ArrayList<OverViewItem> visible_items = new Gee.ArrayList<OverViewItem> (); /** List of undo commands. */ public Gee.ArrayList<OverViewUndoItem> undo_items = new Gee.ArrayList<OverViewUndoItem> (); @@ -1335,11 +1335,10 @@ } } - if (is_null(i.version_menu)) { - update = true; + if (!is_null (i.version_menu)) { + update = !i.version_menu.menu_visible; } else { - VersionList v = (!) i.version_menu; - update = !v.menu_visible; + update = true; } } index++;
--- a/libbirdfont/OverviewTools.vala +++ b/libbirdfont/OverviewTools.vala @@ -282,6 +282,10 @@ DrawingTools.resize_tool.resize_glyph (g, scale, scale, false); } } + } + + foreach (OverViewItem item in o.visible_items) { + item.draw_glyph_from_font (); } o.undo_items.add (ui);