Merge pull request #55962 from Calinou/editor-spin-slider-tweak-grabber-3.x

This commit is contained in:
Rémi Verschelde 2021-12-15 17:36:50 +01:00 committed by GitHub
commit c2ac42c45c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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