Skip to content

Commit f418603

Browse files
committed
Merge pull request #102749 from timothyqiu/tree-buttons-offset
Fix TreeItem button tooltip trigger area offset
2 parents 2fd6c63 + 387d0e7 commit f418603

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
@@ -5631,7 +5631,7 @@ void Tree::_find_button_at_pos(const Point2 &p_pos, TreeItem *&r_item, int &r_co
56315631
}
56325632

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

0 commit comments

Comments
 (0)