1
0
Fork 0

Merge pull request #102749 from timothyqiu/tree-buttons-offset

Fix TreeItem button tooltip trigger area offset
This commit is contained in:
Rémi Verschelde 2025-02-12 11:21:15 +01:00
commit f418603522
1 changed files with 1 additions and 1 deletions

View File

@ -5631,7 +5631,7 @@ void Tree::_find_button_at_pos(const Point2 &p_pos, TreeItem *&r_item, int &r_co
}
for (int i = 0; i < col; i++) {
const int col_w = get_column_width(i) + theme_cache.h_separation;
const int col_w = get_column_width(i);
pos.x -= col_w;
x_limit -= col_w;
}