Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Scaling off in macOS #7

@pathartl

Description

@pathartl

When dragging a window in macOS, the scaling seems to be off. Debugging further it looks like the resolution Photino gets from macOS is already scaled. This was tested on Sequoia 15.1.1.

I started work on a fix which does fix the dragging behavior. I also changed the way that scaling was calculated to only calculate it on init, and when the pointer crosses into a new monitor. Previously, this was being calculated on every window drag update. I'm not sure if my changes works correctly with multi monitor scaling.

LANCommander@115ac7b

This code also has a bug where the window cannot be dragged up directly to the menu bar and there's a gap that might be 2x the menu bar. I'm assuming this is because macOS reports the work area differently than Windows.

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