Remove unused ofs variable
This commit is contained in:
parent
7e2de76236
commit
875c994109
|
@ -3045,13 +3045,6 @@ void Tree::_notification(int p_what) {
|
||||||
draw_item(Point2(), draw_ofs, draw_size, root);
|
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) {
|
if (show_column_titles) {
|
||||||
|
|
||||||
//title buttons
|
//title buttons
|
||||||
|
|
Loading…
Reference in New Issue