Make EditorSpinSlider grabbers thicker to be more noticeable

This commit is contained in:
Hugo Locurcio 2021-12-15 17:18:53 +01:00
parent ef52ac6c25
commit 69f7f7310d
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -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();