The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Select points on object boundaries

These changes was commited to the Birdfont repository Sat, 20 Jun 2015 17:33:27 +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>
Sat, 20 Jun 2015 17:33:27 +0000 (19:33 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 20 Jun 2015 17:33:27 +0000 (19:33 +0200)
commit 5b4a5e808cfc2db84886c748faec674a2ef32d28
tree 5e8b4dabc2ff4e5949e6759b7b71c54fb9ab535a
parent 5835b879a54198c6bb89dae6a72f68bb1f32be7a
Select points on object boundaries

libbirdfont/PenTool.vala
--- a/libbirdfont/PenTool.vala +++ b/libbirdfont/PenTool.vala @@ -1875,7 +1875,7 @@ } } - return p.xmin - c <= x <= p.xmax + c && p.ymin - c <= y <= p.ymax + c; + return p.xmin - c - 10 <= x <= p.xmax + c && p.ymin - c - 10 <= y <= p.ymax + c; } private bool is_close_to_handle (EditPoint selected_corner, double event_x, double event_y, double distance_to_edit_point) {