Make inactive menubar to ignore pointer events

This commit is contained in:
MrOtherGuy 2019-03-26 20:18:12 +02:00
parent 66080c4056
commit 21de893e99

View file

@ -31,4 +31,8 @@ Window controls will be all wrong without it
} }
#toolbar-menubar:not([inactive]){ z-index: 2 } #toolbar-menubar:not([inactive]){ z-index: 2 }
#toolbar-menubar[inactive] > #menubar-items { opacity: 0; margin-left: var(--uc-window-drag-space-width,0px) } #toolbar-menubar[inactive] > #menubar-items {
opacity: 0;
pointer-events: none;
margin-left: var(--uc-window-drag-space-width,0px)
}