The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Merge branch '2.14' of github.com:johanmattssonm/birdfont into 2.14

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 @@ -128,6 +128,14 @@ update_item_list (); update_scrollbar (); reset_zoom (); + } + + public Glyph? get_selected_glyph () { + if (selected_items.size == 0) { + return null; + } + + return selected_items.get (0).get_current (); } public void select_all_glyphs () {