From b8c251f704bff9f7981fd47e87f409af42b2dd57 Mon Sep 17 00:00:00 2001 From: Giganzo <158825920+Giganzo@users.noreply.github.com> Date: Mon, 24 Feb 2025 03:54:30 +0100 Subject: [PATCH] Fix invisible ItemList cursor in edito theme --- editor/themes/editor_theme_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/themes/editor_theme_manager.cpp b/editor/themes/editor_theme_manager.cpp index 1793418c2a2..0699c58c1fc 100644 --- a/editor/themes/editor_theme_manager.cpp +++ b/editor/themes/editor_theme_manager.cpp @@ -1051,7 +1051,7 @@ void EditorThemeManager::_populate_standard_styles(const Ref &p_the Ref style_itemlist_cursor = p_config.base_style->duplicate(); style_itemlist_cursor->set_draw_center(false); - style_itemlist_cursor->set_border_width_all(p_config.border_width); + style_itemlist_cursor->set_border_width_all(MAX(1 * EDSCALE, p_config.border_width)); style_itemlist_cursor->set_border_color(p_config.highlight_color); Ref style_itemlist_hover = style_tree_selected->duplicate();