summaryrefslogtreecommitdiff
path: root/editor/editor_inspector.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-11-05 09:05:03 +0100
committerGitHub <noreply@github.com>2018-11-05 09:05:03 +0100
commitfcd761e88985fb243717c159bce7fa40497a8924 (patch)
tree927b9c1b1db4739ae17c30b810dcae357081f8d6 /editor/editor_inspector.cpp
parent935537c53191e7430a77949eab6b1e50841c19bd (diff)
parent71df4caf8fe4e834c2f175e060b3a896d4d5b70e (diff)
Merge pull request #23519 from Rubonnek/remove-unnecessary-assignments
Removed unnecessary assignments
Diffstat (limited to 'editor/editor_inspector.cpp')
-rw-r--r--editor/editor_inspector.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp
index 1230588016..75b364089d 100644
--- a/editor/editor_inspector.cpp
+++ b/editor/editor_inspector.cpp
@@ -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();
}
}
}