Clone in a terminal:
Commit d692152
Johan Mattsson - 2016-11-03T09:16:30+00:00
d692152bcc058790af3d3b81aef30216e34a3471johan.mattsson.m@gmail.com

Fix straight lines in Beziér tool

Changed files (2)

Diff

diff --git a/libbirdfont/BezierTool.vala b/libbirdfont/BezierTool.valaindex fd3b379..6a63255 100644--- a/libbirdfont/BezierTool.vala+++ b/libbirdfont/BezierTool.vala@@ -398,6 +398,8 @@ public class BezierTool : Tool { 		 		if (s > 2) { 			p = current_path.points.get (s - 2);+			p.set_tie_handle (false);+			p.set_reflective_handles (false); 			p.get_right_handle ().convert_to_line (); 			current_point.get_left_handle ().convert_to_line (); 			current_path.recalculate_linear_handles_for_point (p);diff --git a/libbirdfont/Toolbox.vala b/libbirdfont/Toolbox.valaindex 075d86f..1be6e33 100644--- a/libbirdfont/Toolbox.vala+++ b/libbirdfont/Toolbox.vala@@ -79,7 +79,7 @@ public class Toolbox : GLib.Object  { 		tool_sets.add (spacing_class_tools); 		tool_sets.add (background_tools); 		// the menu has all the file_tools commands, it will not be added here-		tool_sets.add (hidden_tools); // tools without a button+		tool_sets.add (hidden_tools); // tools without buttons 		 		current_set = file_tools; 		current_set.selected ();

Contact

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