Skip to content

Fix popup graphic and text overlap on taller screens#7

Open
owenb321 wants to merge 2 commits into
coredevices:masterfrom
owenb321:popup-overlap-fix
Open

Fix popup graphic and text overlap on taller screens#7
owenb321 wants to merge 2 commits into
coredevices:masterfrom
owenb321:popup-overlap-fix

Conversation

@owenb321
Copy link
Copy Markdown

@owenb321 owenb321 commented May 1, 2026

Summary

  • The "Time's Up!" and "Timer Deleted" popups centered the PDC/bitmap graphic
    vertically while anchoring the text layer at a hardcoded y=125. On taller
    platforms (Emery, Gabbro) the centered graphic shifted past y=125 and
    overlapped the title text.
  • layers_center_in_window now keeps the graphic in its original centered
    position so authored animations (alarm rings, shredder shreds) still fit on
    screen, and places the text directly below the graphic with a 5px gap,
    clamped to the screen bottom.
  • The original Aplite -7 vertical offset is preserved.

Fixes issue #4

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