The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Use fixed size glyphs in overview

Changes made to libbirdfont/OverView.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/OverView.vala +++ libbirdfont/OverView.vala @@ -138,6 +138,12 @@ if (z != "") { set_zoom (double.parse (z)); } + } + } + + public void reset_cache () { + foreach (OverViewItem i in visible_items) { + i.clear_cache (); } } @@ -641,9 +647,7 @@ selected_index = selected_items.index_of ((!) glyphs); selected_item = (selected_index != -1); } - - item.adjust_scale (); - + selected_item |= (i == selected); item.selected = selected_item;