Skip to content
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

Fix ungrouping bugs to preserve layer ordering and prevent incorrect layer deletion #1672

Merged
merged 8 commits into from
Mar 16, 2024

Conversation

moOsama76
Copy link
Contributor

@moOsama76 moOsama76 commented Mar 11, 2024

Closes #1671
Sub-issue: external consistency of ungrouping, closes #1633

@Keavon Keavon requested a review from 0HyperCube March 11, 2024 02:49
@moOsama76 moOsama76 closed this Mar 11, 2024
@moOsama76 moOsama76 reopened this Mar 11, 2024
@Keavon Keavon changed the title Ungroup bugs Fix ungrouping bugs to preserve layer ordering and prevent incorrect layer deletion Mar 11, 2024
Copy link
Member

@Keavon Keavon left a comment

Choose a reason for hiding this comment

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

This looks nice! But there's one issue remaining that I've found. Your fix for the case you reported in #1671 does, indeed, prevent the layers from being deleted. However it reorders them so b appears above a. Can you please fix that before merging this?

@Keavon Keavon marked this pull request as draft March 16, 2024 09:06
@moOsama76 moOsama76 requested a review from Keavon March 16, 2024 17:46
@Keavon Keavon marked this pull request as ready for review March 16, 2024 18:35
@Keavon Keavon merged commit 058aa71 into GraphiteEditor:master Mar 16, 2024
2 checks passed
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.

Ungrouping nested folders at once deletes some layers Avoid layers being reordered when dealing with groups
2 participants