Skip to content

Commit

Permalink
fix 2d editor selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Naputt1 committed May 8, 2024
1 parent 2042420 commit 9e196b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions editor/plugins/canvas_item_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4073,6 +4073,13 @@ void CanvasItemEditor::_notification(int p_what) {
override_camera_button->set_pressed(false);
}
} break;

case NOTIFICATION_APPLICATION_FOCUS_OUT: {
if (drag_type != DRAG_NONE) {
_reset_drag();
viewport->queue_redraw();
}
} break;
}
}

Expand Down

0 comments on commit 9e196b7

Please sign in to comment.