viewer: make top-bar uninteractive when invisible

cap
Varun Patil 2022-12-08 13:46:42 -08:00
parent 7aa4eafa6e
commit e31cf72756
1 changed files with 2 additions and 0 deletions

View File

@ -1130,8 +1130,10 @@ export default class Viewer extends Mixins(GlobalMixin) {
transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out;
opacity: 0; opacity: 0;
pointer-events: none;
&.showControls { &.showControls {
opacity: 1; opacity: 1;
pointer-events: auto;
} }
} }