Clone in a terminal:
Commit 6a2ab5e
Johan Mattsson - 2013-08-27T08:57:24+00:00
6a2ab5ed94d728a6dde454f16354815e35cb4ff2johan.mattsson.m@gmail.com

min stroke width

Changed files (2)

Diff

diff --git a/icons/toolbox_background.png b/icons/toolbox_background.pngindex 7c36d96..20e3adc 100644Binary files a/icons/toolbox_background.png and b/icons/toolbox_background.png differdiff --git a/libbirdfont/DrawingTools.vala b/libbirdfont/DrawingTools.valaindex 1d3a7ae..ba1611e 100644--- a/libbirdfont/DrawingTools.vala+++ b/libbirdfont/DrawingTools.vala@@ -540,12 +540,14 @@ public class DrawingTools : ToolCollection  { 		stroke_width.new_value_action.connect((self) => { 			Glyph g = MainWindow.get_current_glyph (); 			Path.stroke_width = stroke_width.get_value ();+			Path.stroke_width = Math.sqrt (Path.stroke_width); 			g.redraw_area (0, 0, g.allocation.width, g.allocation.height); 			Preferences.set ("stroke_width", @"$(Path.stroke_width)"); 			MainWindow.get_toolbox ().redraw ((int) stroke_width.x, (int) stroke_width.y, 70, 70); 		}); 		style_tools.add_tool (stroke_width); 		stroke_width.set_max (4);+		stroke_width.set_min (0.2);  		ColorTool handle_color = new ColorTool (_("Handle color")); 		handle_color.color_updated.connect (() => {

Contact

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