Make EditorSpinSlider grabbers thicker to be more noticeable

This commit is contained in:
Hugo Locurcio 2021-12-15 00:44:55 +01:00
parent f09d88443b
commit 02187727e3
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -388,7 +388,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);
grabbing_spinner_mouse_pos = get_global_position() + grabber_rect.get_center();