Clone in a terminal:
Commit 8884506
Johan Mattsson - 2015-04-20T10:18:35+00:00
88845067eaf37421e012490827b51e19ea77d343johan.mattsson.m@gmail.com

Close path with middle button in Beziér tool

Changed files (1)

Diff

diff --git a/libbirdfont/ForesightTool.vala b/libbirdfont/ForesightTool.valaindex cd6e6df..808780e 100644--- a/libbirdfont/ForesightTool.vala+++ b/libbirdfont/ForesightTool.vala@@ -65,6 +65,15 @@ public class ForesightTool : Tool { 			PointSelection ps; 			EditPoint first_point; 			bool clockwise;+			+			if (b == 2) {+				p.release_action (p, 1, x, y);+				p.press_action (p, 2, x, y);+				p.release_action (p, 2, x, y);+				current_path.hide_end_handle = true;+				state = NONE;+				return;+			}   			MainWindow.get_current_glyph ().store_undo_state (); @@ -181,6 +190,10 @@ public class ForesightTool : Tool { 			bool lh; 			EditPointHandle h; +			if (state == NONE) {+				return;+			}+ 			last_move_x = x; 			last_move_y = y; 			

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112