Clone in a terminal:
Commit 14baeed
Johan Mattsson - 2015-04-20T12:55:35+00:00
14baeedfb97a3bdfcc4a514739841cf8cbdcc651johan.mattsson.m@gmail.com

Fix position for first point in Beziér tool

Changed files (4)

Diff

diff --git a/libbirdfont/ForesightTool.vala b/libbirdfont/ForesightTool.valaindex 808780e..ec2a13e 100644--- a/libbirdfont/ForesightTool.vala+++ b/libbirdfont/ForesightTool.vala@@ -190,16 +190,16 @@ public class ForesightTool : Tool { 			bool lh; 			EditPointHandle h; -			if (state == NONE) {-				return;-			}- 			last_move_x = x; 			last_move_y = y; 			 			PenTool.active_path = current_path; 			PenTool.active_path.hide_end_handle = (state == MOVE_POINT); 			+			if (state == NONE) {+				return;+			}+			 			if (state == MOVE_HANDLES || state == MOVE_LAST_HANDLE) {				 				if (previous_point > 0) { 					return_if_fail (PenTool.active_path.points.size >= previous_point + 1);diff --git a/libbirdfont/TabBar.vala b/libbirdfont/TabBar.valaindex a5a81f8..9c0adb4 100644--- a/libbirdfont/TabBar.vala+++ b/libbirdfont/TabBar.vala@@ -758,7 +758,7 @@ public class TabBar : GLib.Object { 				close_opacity = (over_close_tab == tab_index) ? 1 : 0.2;   				if (tab_index == selected) {-					Theme.color_opacity (cr, "Selected Tab Foregrund", close_opacity);+					Theme.color_opacity (cr, "Selected Tab Foreground", close_opacity); 				} else { 					Theme.color_opacity (cr, "Text Foreground", close_opacity); 				}@@ -784,7 +784,7 @@ public class TabBar : GLib.Object { 			center_y = (int) (tab_height / 2.0 + 4 / scale); 			 			if (tab_index == selected) {-				Theme.text_color (label, "Selected Tab Foregrund");+				Theme.text_color (label, "Selected Tab Foreground"); 			} else { 				Theme.text_color (label, "Text Tab Bar"); 			}diff --git a/libbirdfont/Theme.vala b/libbirdfont/Theme.valaindex c222b3b..bf2ac25 100644--- a/libbirdfont/Theme.vala+++ b/libbirdfont/Theme.vala@@ -307,7 +307,7 @@ public class Theme : GLib.Object { 			write_theme (); 		} -		// Bright theme+		// High contrast theme 		Theme.set_default_color ("Canvas Background", 1, 1, 1, 1); 		Theme.set_default_color ("Stroke Color", 0, 0, 0, 1); 		Theme.set_default_color ("Handle Color", 0, 0, 0, 1);@@ -327,7 +327,7 @@ public class Theme : GLib.Object { 		Theme.set_default_color ("Text Foreground", 0, 0, 0, 1); 		Theme.set_default_color ("Text Tool Box", 0, 0, 0, 1); 		Theme.set_default_color ("Text Tab Bar", 0, 0, 0, 1);-		Theme.set_default_color ("Selected Tab Foregrund", 1, 1, 1, 1);+		Theme.set_default_color ("Selected Tab Foreground", 1, 1, 1, 1); 		Theme.set_default_color ("Menu Foreground", 0, 0, 0, 1); 		 		Theme.set_default_color ("Table Border", 0, 0, 0, 1);diff --git a/resources/high_contrast.theme b/resources/high_contrast.themeindex 6b3a7c5..28fca24 100644--- a/resources/high_contrast.theme+++ b/resources/high_contrast.theme@@ -12,11 +12,10 @@ 	<color name="Dialog Shadow" red="0" green="0" blue="0" alpha="1"/> 	<color name="Selected Active Cubic Control Point" red="0" green="0" blue="0" alpha="1"/> 	<color name="Selected Cubic Control Point" red="0" green="0" blue="0" alpha="1"/>-	<color name="Selected Tab Foreground" red="0.14901960784313725" green="0.14117647058823529" blue="0.15294117647058825" alpha="1"/>+	<color name="Selected Tab Foreground" red="1" green="1" blue="1" alpha="1"/> 	<color name="Control Point Handle" red="0" green="0" blue="0" alpha="1"/> 	<color name="Text Tab Bar" red="0" green="0" blue="0" alpha="1"/> 	<color name="Zoom Bar Border" red="0" green="0" blue="0" alpha="1"/>-	<color name="Selected Tab Foregrund" red="1" green="1" blue="1" alpha="1"/> 	<color name="Text Foreground" red="0" green="0" blue="0" alpha="1"/> 	<color name="Fill Color" red="0" green="0" blue="0" alpha="1"/> 	<color name="Table Background 1" red="1" green="1" blue="1" alpha="1"/>

Contact

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