The Birdfont Source Code


All Repositories / birdfont.git / commit – 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
author Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 15 May 2016 13:59:32 +0000 (15:59 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 15 May 2016 13:59:32 +0000 (15:59 +0200)
commit f8b5fc2583771851b6a75ff91ddfb1a6006f0504
tree f16240b3fec18e1a999b90dff34a27648aae9aa6
parent 8fbf6c9d049b3c4d44c899f1da2fff9c8e3b95e5
parent 7c825d4ce1ca32cffcc4a2d6c500482d701d3fcc
Merge ../birdfont-2.x

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);