1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00

Merge pull request #101825 from ryevdokimov/spin-box-drag-accept-event

Fix spinbox input events propagating during dragging, breaking focus
This commit is contained in:
Thaddeus Crews
2025-01-27 09:46:11 -06:00

View File

@@ -120,6 +120,9 @@ LineEdit *SpinBox::get_line_edit() {
}
void SpinBox::_line_edit_input(const Ref<InputEvent> &p_event) {
if (drag.enabled) {
line_edit->accept_event();
}
}
void SpinBox::_range_click_timeout() {