Skip to content

feat(ui): layer behaviour after merging #8428

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

csehatt741
Copy link

@csehatt741 csehatt741 commented Aug 15, 2025

Summary

A new feature was implemented to refine layer behaviour.

  • CanvasCompositorModule.mergeByEntityIdentifiers was modified to define addAfter when the new merged layer is created
  • rasterLayerAdded, controlLayerAdded, rgAdded and inpaintMaskAdded were modified in canvasSlice.ts to add the new layer after the one specified in addAfter
  • entityDuplicated was modified in canvasSlice.ts to insert the duplicated layer after the original one
  • useAddControlLayer, useAddRasterLayer, useAddInpaintMask and useAddRegionalGuidance were modified in addLayerHooks.ts to insert the merged layer after the selected one

Related Issues / Discussions

Closes #8002

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[enhancement]: Layer behaviour after merging
1 participant