viewer: make top-bar uninteractive when invisible
parent
7aa4eafa6e
commit
e31cf72756
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue