Closed niklasr22 closed 1 year ago
One could possibly hide the pixel under the notch, for as pretty much all macs I know that have HDR minus the ProDisplay and other external monitors also have a notch. I can test if that works on my system quite quick
nope nvm Apple apparently disallows that under the assumption you want your program to show its window
I'm seeing if I can refactor it to be independent of its window
switching from visibleframe to frame has no effects, and allows me to hide under the notch
Moving it up to the upper left corner should work because of the rounded corner of the macbook display.
yeah that would work too... if I can figure out how exactly
Setting the position can be done with setFrameOrigin
and you can use the origin of the screen plus the hight of the screens frame as an additional y offset.
A bright white pixel is visible near the lower left corner of the screen.
To do: hide it better
Possible ways:
OverlayWindow
to a more appropriate spotOverlayWindow