Skip to content

Commit

Permalink
editor: Fix node selection within SubViewports using size 2d override
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcarnie committed Feb 4, 2025
1 parent eee39f0 commit 739a863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/canvas_item_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ void CanvasItemEditor::_find_canvas_items_at_pos(const Point2 &p_pos, Node *p_no
return;
}
xform = vp->get_popup_base_transform();
if (!vp->get_visible_rect().has_point(xform.xform_inv(p_pos))) {
if (!vp->get_visible_rect().has_point(xform.affine_inverse().xform_inv(p_pos))) {
return;
}
}
Expand Down

0 comments on commit 739a863

Please sign in to comment.