The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Merge branch '2.14' of github.com:johanmattssonm/birdfont into 2.14

Changes made to libbirdfont/StrokeTool.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/StrokeTool.vala +++ libbirdfont/StrokeTool.vala @@ -535,10 +535,8 @@ next = lep.get_next (); hidden = new EditPoint (0, 0, PointType.QUADRATIC); - px = next.get_right_handle ().x - + (next.get_left_handle ().x - prev.get_right_handle ().x) / 2.0; - py = next.get_right_handle ().y - + (next.get_left_handle ().y - prev.get_right_handle ().y) / 2.0; + px = (next.get_left_handle ().x + prev.get_right_handle ().x) / 2.0; + py = (next.get_left_handle ().y + prev.get_right_handle ().y) / 2.0; hidden.independent_x = px; hidden.independent_y = py;