mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix overly aggressive focus stealing by StateMachine and BlendSpaces
This commit is contained in:
@@ -283,11 +283,6 @@ void AnimationNodeBlendSpace2DEditor::_blend_space_gui_input(const Ref<InputEven
|
||||
|
||||
Ref<InputEventMouseMotion> mm = p_event;
|
||||
|
||||
if (mm.is_valid() && !blend_space_draw->has_focus()) {
|
||||
blend_space_draw->grab_focus();
|
||||
blend_space_draw->queue_redraw();
|
||||
}
|
||||
|
||||
if (mm.is_valid() && dragging_selected_attempt) {
|
||||
dragging_selected = true;
|
||||
if (!read_only) {
|
||||
|
||||
Reference in New Issue
Block a user