diff nuklear_ui/blastem_nuklear.c @ 1854:58b6f5d918f4

Minor improvements to keyboard navigation
author Michael Pavone <pavone@retrodev.com>
date Thu, 25 Apr 2019 21:54:47 -0700
parents 9b2acecf8124
children 92532eb6986d
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c	Wed Apr 24 20:46:35 2019 -0700
+++ b/nuklear_ui/blastem_nuklear.c	Thu Apr 25 21:54:47 2019 -0700
@@ -2076,6 +2076,10 @@
 		.r = 255, .g = 128, .b = 0, .a = 255
 	};
 	context->style.checkbox.cursor_hover = context->style.checkbox.cursor_normal;
+	context->style.property.inc_button.text_hover = (struct nk_color){
+		.r = 255, .g = 128, .b = 0, .a = 255
+	};
+	context->style.property.dec_button.text_hover = context->style.property.inc_button.text_hover;
 }
 
 static void context_created(void)