The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Overview selection

These changes was commited to the Birdfont repository Fri, 17 Apr 2015 17:21:13 +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>
Fri, 17 Apr 2015 17:21:13 +0000 (19:21 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 17 Apr 2015 17:21:13 +0000 (19:21 +0200)
commit 94227f901f9668c028f2482f32fc7efda0e966c1
tree 063f60caa7b1b4ba58cc86871c4ce6e27b08b0ee
parent b299c0231eb144cf4244b915cc52569c157e8ea5
Overview selection

libbirdfont/OverView.vala
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -690,21 +690,41 @@ case Key.UP: key_up (); selected_item = get_selected_item (); + + selected_items.clear (); + if (selected_item.glyphs != null) { + selected_items.add ((!) selected_item.glyphs); + } return; case Key.RIGHT: key_right (); selected_item = get_selected_item (); + + selected_items.clear (); + if (selected_item.glyphs != null) { + selected_items.add ((!) selected_item.glyphs); + } return; case Key.LEFT: key_left (); selected_item = get_selected_item (); + + selected_items.clear (); + if (selected_item.glyphs != null) { + selected_items.add ((!) selected_item.glyphs); + } return; case Key.DOWN: key_down (); selected_item = get_selected_item (); + + selected_items.clear (); + if (selected_item.glyphs != null) { + selected_items.add ((!) selected_item.glyphs); + } return; case Key.PG_UP: @@ -712,6 +732,11 @@ key_up (); } selected_item = get_selected_item (); + + selected_items.clear (); + if (selected_item.glyphs != null) { + selected_items.add ((!) selected_item.glyphs); + } return; case Key.PG_DOWN: @@ -719,6 +744,11 @@ key_down (); } selected_item = get_selected_item (); + + selected_items.clear (); + if (selected_item.glyphs != null) { + selected_items.add ((!) selected_item.glyphs); + } return; case Key.DEL: