Fix spinbox input events propagating during dragging, breaking focus
This commit is contained in:
parent
7b1ed520bd
commit
54bdc5fc82
1 changed files with 3 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue