From 69f7f7310d0cc5002d105874e32395278edd8918 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 15 Dec 2021 17:18:53 +0100 Subject: [PATCH] Make EditorSpinSlider grabbers thicker to be more noticeable --- editor/editor_spin_slider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index 6b8de8ac867..e3bd1cc7311 100644 --- a/editor/editor_spin_slider.cpp +++ b/editor/editor_spin_slider.cpp @@ -327,7 +327,7 @@ void EditorSpinSlider::_draw_spin_slider() { // Draw the horizontal slider's grabber. c.a = 0.9; - const Rect2 grabber_rect = Rect2(ofs + gofs, svofs + 1, grabber_w, 2 * EDSCALE); + const Rect2 grabber_rect = Rect2(ofs + gofs, svofs, grabber_w, 4 * EDSCALE); draw_rect(grabber_rect, c); bool display_grabber = (mouse_over_spin || mouse_over_grabber) && !grabbing_spinner && !value_input->is_visible();