tmandry / Swindler

macOS window management library for Swift
https://tmandry.github.io/Swindler/docs/main/
MIT License
695 stars 66 forks source link

Use consistent coordinate system for all of Swindler #24

Closed tmandry closed 5 years ago

tmandry commented 5 years ago

Currently, Screen uses a coordinate system with origin at the bottom-left, while Window uses an origin at the top-left. This is a weird quirk of macOS.

We should probably switch to using the same system as Screen everywhere, since that is what is used in the rest of Cocoa, but it would be a really invasive change.