Explorar el Código

Added missing LinkButton colors in Editor Theme

Yuri Sizov hace 5 años
padre
commit
0671d7b276
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      editor/editor_themes.cpp

+ 3 - 0
editor/editor_themes.cpp

@@ -997,6 +997,9 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
 	// LinkButton
 	theme->set_stylebox("focus", "LinkButton", style_empty);
 	theme->set_color("font_color", "LinkButton", font_color);
+	theme->set_color("font_color_hover", "LinkButton", font_color_hl);
+	theme->set_color("font_color_pressed", "LinkButton", accent_color);
+	theme->set_color("font_color_disabled", "LinkButton", font_color_disabled);
 
 	// TooltipPanel
 	Ref<StyleBoxFlat> style_tooltip = style_popup->duplicate();