Lunar icon indicating copy to clipboard operation
Lunar copied to clipboard

Custom HUD (XDR/sub-zero) overlaps with macOS' native HUD

Open jankais3r opened this issue 1 year ago • 2 comments

Hi,

Thanks so much for Lunar, a really awesome app.

The only issue I have is that the custom secondary slider for XDR and sub-zero brightness covers the bottom of the macOS' native brightness indicator, which makes it more difficult to quickly return to max SDR brightness without "overshooting". Could you maybe make the custom HUD movable, or just shift it a bit by default? This issue is on a 14" MBP in case that matters.

sub-zero xdr

jankais3r avatar Aug 03 '22 00:08 jankais3r

Unfortunately it's not possible to read the position of the native OSD and place the XDR based on it.

I placed it so that it doesn't overlap and looks good on my end, but it's normal for it to look different on another resolution. Making it movable will make code and UI a lot more complex for such a minor thing, and I have to choose wisely what I add to the UI as it is already become too complex for the average user.

alin23 avatar Aug 03 '22 02:08 alin23

I can add a hidden verticalOffset setting if that will help. I'll publish an alpha with the change tomorrow.

alin23 avatar Aug 03 '22 02:08 alin23

Hi Alin, I see that a new alpha was pushed yesterday. Is the verticalOffset config option included?

jankais3r avatar Aug 14 '22 11:08 jankais3r

I just uploaded alpha4 that should fix this without the need for an offset.

It seems that the only difference on your side is that you have the Dock showing, while I have it hidden. That changes the screen.visibleFrame height.

I adjusted the code to not take into account the Dock height and allow overlapping the Dock.

alin23 avatar Aug 14 '22 13:08 alin23

Works great, thank you very much!

jankais3r avatar Aug 14 '22 13:08 jankais3r