The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Update resize handles when new paths are selected

These changes was commited to the Birdfont repository Sun, 06 Mar 2016 09:46:08 +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, 06 Mar 2016 09:46:08 +0000 (10:46 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 06 Mar 2016 09:46:08 +0000 (10:46 +0100)
commit aefe57f50b32df890dd118a91a393ebbfa441711
tree efce2553cacd12fcaac413f3b2cccc967bda1dc1
parent 81f36f2c147adc67e269634ef8ee254a7eb178a5
Update resize handles when new paths are selected

libbirdfont/MoveTool.vala
libbirdfont/ResizeTool.vala
--- a/libbirdfont/MoveTool.vala +++ b/libbirdfont/MoveTool.vala @@ -484,6 +484,8 @@ update_selection_boundaries (); objects_moved (); + + ResizeTool.update_selection_box (); } static void draw_selection_box (Context cr) {
--- a/libbirdfont/ResizeTool.vala +++ b/libbirdfont/ResizeTool.vala @@ -403,7 +403,7 @@ } } - void update_selection_box () { + public static void update_selection_box () { MoveTool.update_boundaries_for_selection (); MoveTool.get_selection_box_boundaries (out selection_box_center_x, out selection_box_center_y, out selection_box_width,