zydezu / ModernX

My fork of modernX (a replacement for MPV that retains the functionality of the default OSC), adding additional features - see builds at: https://github.com/zydezu/mpvconfig
131 stars 5 forks source link

How can I adjust the height of the OSC ? #43

Open htyxyt opened 1 month ago

htyxyt commented 1 month ago

I tried adjusting the osc_geo.h, but it only reduced the height of area for active mouse input. The display height of the OSC, meaning the semi-transparent part, remained the same as before. Could you please tell me which parameter I should modify to adjust the overall height of the OSC?

zydezu commented 3 weeks ago

Are you talking about OSCfadealpha ?

htyxyt commented 2 weeks ago

Are you talking about OSCfadealpha ? No. I tried modifying modern.conf->OSCfadealpha, but it still doesn't seem to work.

What I mean is as shown in the image: when the OSC (On-Screen Controller) is displayed, it gradually becomes transparent from the bottom of the window to the red line. I hope to adjust this height, for example, to make it gradually transparent from the bottom of the window to the green line instead. image