The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix point selection

These changes was commited to the Birdfont repository Sun, 21 Jun 2015 10:50:37 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sun, 21 Jun 2015 10:50:37 +0000]

Updated Files

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