fix: more strictly close bar popouts

This commit is contained in:
Kiana Sheibani 2026-01-25 04:44:39 -05:00
parent 2bdcf4d504
commit bc5d256073
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -62,6 +62,10 @@ CustomMouseArea {
if (y < Config.bar.height && !popoutsSuppressed && !popouts.persistent) {
bar.checkPopout(x);
}
// Hide bar popouts (if user moves mouse along edge)
if (y > popouts.nonAnimHeight + Config.bar.height) {
popouts.hasCurrent = false;
}
// Show osd on hover
const showOsd = inRightPanel(panels.osd, x, y);