浏览代码

Added missing LinkButton colors in Editor Theme

(cherry picked from commit 0671d7b2768ddcfb8738e90a00ef767a4f4ce91e)
Yuri Sizov 5 年之前
父节点
当前提交
ad1c7a53d9
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      editor/editor_themes.cpp

+ 3 - 0
editor/editor_themes.cpp

@@ -993,6 +993,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();