Skip to content

fix: keep burning snapshot aligned with window margins - #57

Merged
HiAriesZhou merged 1 commit into
mainfrom
fix/escape-burn-drift
Nov 25, 2026
Merged

HiAriesZhou merged 1 commit into
mainfrom
fix/escape-burn-drift

Conversation

@HiAriesZhou

Copy link
Copy Markdown
Owner

Summary

  • Move .padding(margins) inside .scaleEffect / .rotation3DEffect / .opacity in HowlerView so the animated layer includes the transparent margins and subsequent cacheDisplay snapshots keep the window origin.
  • Add LetterLifecycleTests.testOpeningBurnFrameKeepsTheWaxSealInPlace to verify across 3 consecutive show-and-burn cycles that the wax seal stays in place when burning begins.
  • Add the manual check item to ACCEPTANCE.md.

Verification

  • make test-app: 89 tests executed, 1 skipped (MagpieTests.testLiveImageAndBurnButton, requires HOWLER_TEST_MAGPIE_MODEL), 0 failures.

@vercel

vercel Bot commented Nov 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
howler Ready Ready Preview Nov 25, 2026 9:12am UTC

@HiAriesZhou HiAriesZhou left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Reviewed PR #57 (4cccf94):

  • Fix (HowlerView.swift): Moving .padding(margins) inside .scaleEffect / .rotation3DEffect / .opacity ensures the animated layer includes the transparent window margins, so cacheDisplay snapshots 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): testOpeningBurnFrameKeepsTheWaxSealInPlace covers 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, and cacheDisplay across Sources/Howler (Seals.swift, DemoMode.swift, SettingsWindowController.swift); no other site has this outer-margin + 3D-transform + snapshot combination.

No blocking issues found.

@HiAriesZhou
HiAriesZhou merged commit 9e94353 into main Nov 25, 2026
7 checks passed
@HiAriesZhou
HiAriesZhou deleted the fix/escape-burn-drift branch November 25, 2026 09:15
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