1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-04 19:21:46 +00:00

Fix spinbox input events propagating during dragging, breaking focus

This commit is contained in:
Robert Yevdokimov
2025-01-20 14:56:23 +04:00
parent 7b1ed520bd
commit 54bdc5fc82

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