Skip to content

Commit 387d0e7

Browse files
committed
Fix TreeItem button tooltip trigger area offset
1 parent ad9abe8 commit 387d0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/gui/tree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5629,7 +5629,7 @@ void Tree::_find_button_at_pos(const Point2 &p_pos, TreeItem *&r_item, int &r_co
56295629
}
56305630

56315631
for (int i = 0; i < col; i++) {
5632-
const int col_w = get_column_width(i) + theme_cache.h_separation;
5632+
const int col_w = get_column_width(i);
56335633
pos.x -= col_w;
56345634
x_limit -= col_w;
56355635
}

0 commit comments

Comments
 (0)