Skip to content

Commit

Permalink
viewer: make top-bar uninteractive when invisible
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed Dec 8, 2022
1 parent 7aa4eaf commit e31cf72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/viewer/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1130,8 +1130,10 @@ export default class Viewer extends Mixins(GlobalMixin) {
transition: opacity 0.2s ease-in-out;
opacity: 0;
pointer-events: none;
&.showControls {
opacity: 1;
pointer-events: auto;
}
}
Expand Down

0 comments on commit e31cf72

Please sign in to comment.