Skip to content

Commit

Permalink
Merge pull request godotengine#55940 from Calinou/editor-spin-slider-…
Browse files Browse the repository at this point in the history
…tweak-grabber
  • Loading branch information
akien-mga authored Dec 15, 2021
2 parents 1930fc8 + 0218772 commit 681d00b
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 @@ -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();
Expand Down

0 comments on commit 681d00b

Please sign in to comment.