Skip to content

Add ability to start lasso select within object without dragging layers #2798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hemu
Copy link
Contributor

@hemu hemu commented Jun 29, 2025

When beginning a lasso select from within an object, currently the behavior is to drag its layers. This PR updates this behavior such that a lasso select beginning within an object will remain a lasso selection over the existing layers.

NOTE: This is a simpler implementation compared to this alternative approach that includes a small refactor: #2799

Part of #2647

Before

graphite_fix_start_lasso_inside_before.mp4

After

graphite_fix_start_lasso_inside_after.mp4

select_deepest,
lasso_select,
select_deepest_key,
lasso_select_key,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renamed this so it's consistent with other similar var names and it let me use lasso_select as a different var in logic below

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant