Skip to content

Notch overlay height does not match the physical notch on MacBook Pro M5 Pro 14inch #64

Description

@woals00

Environment:

  • MacBook Pro with M5 Pro
  • macOS 26.5.2
  • CodexIsland v0.1.19
  • Built-in Retina display, scaled resolution 1512×982

The compact island does not align vertically with the physical notch.

On this Mac:

  • NSScreen.safeAreaInsets.top = 32pt
  • The current visibleFrame calculation produces 31pt

Using safeAreaInsets.top for notched displays makes the overlay align correctly. Could the notch height detection use the physical safe-area inset, or provide a vertical calibration option?

The current behavior for non-notched external displays should remain unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions