Skip to content

Commit

Permalink
Merge pull request #55962 from Calinou/editor-spin-slider-tweak-grabb…
Browse files Browse the repository at this point in the history
…er-3.x
  • Loading branch information
akien-mga authored Dec 15, 2021
2 parents ef52ac6 + 69f7f73 commit c2ac42c
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 c2ac42c

Please sign in to comment.