The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Merge ../birdfont-2.x

Changes made to libbirdfont/EditPointHandle.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/EditPointHandle.vala +++ libbirdfont/EditPointHandle.vala @@ -49,7 +49,9 @@ if (parent.reflective_point) { parent.process_symmetrical_handles (); - } + } + + process_connected_handle (); } } @@ -75,6 +77,8 @@ if (parent.reflective_point) { parent.process_symmetrical_handles (); } + + process_connected_handle (); } } @@ -289,16 +293,18 @@ if (!is_left_handle ()) { if (parent.next != null) { h = parent.get_next ().get_left_handle (); + h.parent.set_reflective_handles (false); h.parent.set_tie_handle (false); h.type = PointType.QUADRATIC; - h.move_to_coordinate_internal (px (), py ()); + h.move_to_coordinate_internal (x, y); } } else { if (parent.prev != null) { h = parent.get_prev ().get_right_handle (); + h.parent.set_reflective_handles (false); h.parent.set_tie_handle (false); h.type = PointType.QUADRATIC; - h.move_to_coordinate_internal (px (), py ()); + h.move_to_coordinate_internal (x, y); } } }