Skip to content

Commit

Permalink
Make EditorSpinSlider grabbers thicker to be more noticeable
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinou committed Dec 15, 2021
1 parent ef52ac6 commit 69f7f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_spin_slider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 69f7f73

Please sign in to comment.