The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Create a new path straight line tools when paths are deselected

These changes was commited to the Birdfont repository Sat, 09 Dec 2017 20:39:04 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sat, 09 Dec 2017 20:39:04 +0000]

Updated Files

libbirdfont/PenTool.vala
--- a/libbirdfont/PenTool.vala +++ b/libbirdfont/PenTool.vala @@ -1042,6 +1042,7 @@ } if (button == 3 && !KeyBindings.has_shift () ) { + glyph.clear_active_paths (); selected_path = active_path; move_point_event (x, y); @@ -1451,7 +1452,8 @@ glyph.clear_active_paths (); glyph.add_active_path (null, path); - + path.close (); + if (direction_changed) { path.reverse (); update_selection ();