Clone in a terminal:
Commit 57d4ee5
Johan Mattsson - 2015-03-17T21:21:13+00:00
57d4ee55b901660d34119d02d879cea9d2498788johan.mattsson.m@gmail.com

Suppress events when guide position is adjusted

Changed files (2)

Diff

diff --git a/libbirdfont/Line.vala b/libbirdfont/Line.valaindex 3b83885..668674b 100644--- a/libbirdfont/Line.vala+++ b/libbirdfont/Line.vala@@ -129,10 +129,12 @@ public class Line : GLib.Object { 		Glyph g; 		TextListener listener; 		string position;+		bool text_input = false; 		 		if (get_active ()) { 			if (button == 3 || KeyBindings.has_shift ()) {-				move = false;			+				move = false;+				text_input = true;		 				position = @"$pos";  				listener = new TextListener (t_("Position"), position, t_("Move"));@@ -166,7 +168,7 @@ public class Line : GLib.Object { 			active = false; 		} 		-		return move;+		return move || text_input; 	}  	void redraw_line () {diff --git a/libbirdfont/TabBar.vala b/libbirdfont/TabBar.valaindex 6d77bde..ef0bc55 100644--- a/libbirdfont/TabBar.vala+++ b/libbirdfont/TabBar.vala@@ -659,7 +659,7 @@ public class TabBar : GLib.Object { 			Theme.text_color (progress_icon, "Foreground 2"); 			 			progress_icon.set_font_size (progress_size);-			progress_icon.widget_x = w - 20 / scale;+			progress_icon.widget_x = w - 14 / scale; 			progress_icon.widget_y = h / 2.0; 			progress_icon.use_cache (false); 			

Contact

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