summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-07 16:30:22 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-07 16:30:22 +0100
commit743e26d4f93ba277e6af33c75de6b65b8c592084 (patch)
treeae12cc998c1390ed010fe98e42c63267f98aa0fa /editor
parent7ebd8b502d1f0838c7278b29102bbb98377c152b (diff)
parent826e54fa7356a16f67730f08e4a6fcc8c33c6622 (diff)
Merge pull request #72829 from Sauermann/fix-code-simplifications
Some code simplifications
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_spin_slider.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp
index 54e14074d9..2d3ec437c6 100644
--- a/editor/editor_spin_slider.cpp
+++ b/editor/editor_spin_slider.cpp
@@ -367,7 +367,6 @@ void EditorSpinSlider::_draw_spin_slider() {
if (!hide_slider) {
if (get_step() == 1) {
- number_width -= updown->get_width();
Ref<Texture2D> updown2 = get_theme_icon(is_read_only() ? SNAME("updown_disabled") : SNAME("updown"), SNAME("SpinBox"));
int updown_vofs = (size.height - updown2->get_height()) / 2;
if (rtl) {