The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Fill paths when move tool is selected

These changes was commited to the Birdfont repository Wed, 17 Jun 2015 16:06:58 +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>
Wed, 17 Jun 2015 16:06:58 +0000 (18:06 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 17 Jun 2015 16:06:58 +0000 (18:06 +0200)
commit cf5427d216fdaf52ce1c0d6d58088bad5f7cae93
tree 9e040ff2587fbffdc8444a1d6a9e7582a1ac0b24
parent f38d10b77bba49bbe0834ee2e114f74c89dee57d
Fill paths when move tool is selected

libbirdfont/MoveTool.vala
libbirdfont/Toolbox.vala
--- a/libbirdfont/MoveTool.vala +++ b/libbirdfont/MoveTool.vala @@ -51,6 +51,7 @@ }); select_action.connect((self) => { + MainWindow.get_current_glyph ().close_path (); }); deselect_action.connect((self) => {
--- a/libbirdfont/Toolbox.vala +++ b/libbirdfont/Toolbox.vala @@ -235,10 +235,6 @@ } redraw_tool_box (); - } - - public void scroll_up (double x, double y) { - scroll_wheel (x, y, 0, -10); } void scroll_current_set (double d) { @@ -258,8 +254,12 @@ suppress_scroll (); } + public void scroll_up (double x, double y) { + scroll_wheel (x, y, 0, 20); + } + public void scroll_down (double x, double y) { - scroll_wheel (x, y, 0, 10); + scroll_wheel (x, y, 0, -20); } void suppress_scroll () {