Removed unnecessary assignments

This commit is contained in:
Wilson E. Alvarez
2018-11-04 22:19:30 -05:00
parent 121cead38e
commit 71df4caf8f
5 changed files with 0 additions and 8 deletions

View File

@ -1143,10 +1143,8 @@ void EditorInspectorSection::_notification(int p_what) {
Color color = get_color("font_color", "Tree");
draw_string(font, Point2(hs, font->get_ascent() + (h - font->get_height()) / 2).floor(), label, color, get_size().width);
int ofs = 0;
if (arrow.is_valid()) {
draw_texture(arrow, Point2(get_size().width - arrow->get_width(), (h - arrow->get_height()) / 2).floor());
ofs += hs + arrow->get_width();
}
}
}