summaryrefslogtreecommitdiffstats
path: root/editor/project_manager
diff options
context:
space:
mode:
authorDavid Giardi <david.giardi.eng@gmail.com>2024-02-15 12:15:12 +0100
committerDavid Giardi <david.giardi.eng@gmail.com>2024-10-17 00:21:52 +0200
commitebe1a2d7ec47e55ccdb0785d5bc72b84ca6f7c3d (patch)
tree5c6fdb9815ed90b28a158866ea9115a998d300b3 /editor/project_manager
parent842f98239713fd10cfd648cd6aa3781895f289eb (diff)
downloadredot-engine-ebe1a2d7ec47e55ccdb0785d5bc72b84ca6f7c3d.tar.gz
Add hover state to Tree items display
Diffstat (limited to 'editor/project_manager')
-rw-r--r--editor/project_manager/project_list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager/project_list.cpp b/editor/project_manager/project_list.cpp
index 541ab01e62..39c1a78c4a 100644
--- a/editor/project_manager/project_list.cpp
+++ b/editor/project_manager/project_list.cpp
@@ -88,7 +88,7 @@ void ProjectListItemControl::_notification(int p_what) {
draw_style_box(get_theme_stylebox(SNAME("selected"), SNAME("Tree")), Rect2(Point2(), get_size()));
}
if (is_hovering) {
- draw_style_box(get_theme_stylebox(SNAME("hover"), SNAME("Tree")), Rect2(Point2(), get_size()));
+ draw_style_box(get_theme_stylebox(SNAME("hovered"), SNAME("Tree")), Rect2(Point2(), get_size()));
}
draw_line(Point2(0, get_size().y + 1), Point2(get_size().x, get_size().y + 1), get_theme_color(SNAME("guide_color"), SNAME("Tree")));