|
@@ -916,6 +916,7 @@ void Control::_window_show_tooltip() {
|
|
|
|
|
|
void Control::_window_call_input(Control *p_control,const InputEvent& p_input) {
|
|
|
|
|
|
+ _block();
|
|
|
|
|
|
while(p_control) {
|
|
|
|
|
@@ -932,6 +933,9 @@ void Control::_window_call_input(Control *p_control,const InputEvent& p_input) {
|
|
|
break;
|
|
|
p_control=p_control->data.parent;
|
|
|
}
|
|
|
+
|
|
|
+ _unblock();
|
|
|
+
|
|
|
}
|
|
|
|
|
|
void Control::_window_input_event(InputEvent p_event) {
|
|
@@ -1067,6 +1071,7 @@ void Control::_window_input_event(InputEvent p_event) {
|
|
|
|
|
|
Size2 pos = mpos;
|
|
|
pos = window->focus_inv_xform.xform(pos);
|
|
|
+
|
|
|
window->mouse_over->drop_data(pos,window->drag_data);
|
|
|
window->drag_data=Variant();
|
|
|
//change mouse accordingly
|