Merge pull request #37688 from theludovyc/dev

Remove unused ofs variable in Tree::_draw
This commit is contained in:
Rémi Verschelde 2020-04-10 11:44:11 +02:00 committed by GitHub
commit 9ab08f06c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3045,13 +3045,6 @@ void Tree::_notification(int p_what) {
draw_item(Point2(), draw_ofs, draw_size, root);
}
int ofs = 0;
for (int i = 0; i < (columns.size() - 1 - 1); i++) {
ofs += get_column_width(i);
}
if (show_column_titles) {
//title buttons