Repository navigation
fix: keep burning snapshot aligned with window margins - #57
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
HiAriesZhou
commented
Nov 25, 2026
HiAriesZhou
left a comment
Owner
Author
There was a problem hiding this comment.
Reviewed PR #57 (4cccf94):
- Fix (
HowlerView.swift): Moving.padding(margins)inside.scaleEffect/.rotation3DEffect/.opacityensures the animated layer includes the transparent window margins, socacheDisplaysnapshots on repeated show/burn cycles keep the window origin. Note that the unfold animation anchor shifts 24pt up (from paper top to window top), while the settled position (scale = 1,rotation = 0°) is unchanged. - Test (
LetterLifecycleTests.swift):testOpeningBurnFrameKeepsTheWaxSealInPlacecovers 3 consecutive show-and-burn cycles and verifies the wax seal center stays within 2pt. Minor timing sensitivity exists if a loaded runner hasn't settled the 0.42s spring in 650ms. - Sibling sweep: Checked
.scaleEffect,.rotation3DEffect, andcacheDisplayacrossSources/Howler(Seals.swift,DemoMode.swift,SettingsWindowController.swift); no other site has this outer-margin + 3D-transform + snapshot combination.
No blocking issues found.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.padding(margins)inside.scaleEffect/.rotation3DEffect/.opacityinHowlerViewso the animated layer includes the transparent margins and subsequentcacheDisplaysnapshots keep the window origin.LetterLifecycleTests.testOpeningBurnFrameKeepsTheWaxSealInPlaceto verify across 3 consecutive show-and-burn cycles that the wax seal stays in place when burning begins.ACCEPTANCE.md.Verification
make test-app: 89 tests executed, 1 skipped (MagpieTests.testLiveImageAndBurnButton, requiresHOWLER_TEST_MAGPIE_MODEL), 0 failures.