Skip to content

refactor: derive layer transparency from blend mode#668

Merged
shlomnissan merged 1 commit into
mainfrom
shlomnissan/refactor/remove-transparent-f199
May 21, 2026
Merged

refactor: derive layer transparency from blend mode#668
shlomnissan merged 1 commit into
mainfrom
shlomnissan/refactor/remove-transparent-f199

Conversation

@shlomnissan
Copy link
Copy Markdown
Collaborator

Summary

This PR removed the redundant Layer.transparent flag. Transparency is now derived from
blendMode !== "none. It also changes the blend mode from normal to none so a default
constructed layer is explicitly opaque.

Tests & Checks

  • All checks have passed

@shlomnissan shlomnissan requested a review from aganders3 May 20, 2026 22:04
@shlomnissan shlomnissan merged commit e57373b into main May 21, 2026
10 checks passed
@czi-github-helper
Copy link
Copy Markdown

🎉 This PR is included in version 0.22.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants