Skip to content

Commit

Permalink
fix: new sheet images processed in fullscreen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Xmader committed Mar 11, 2021
1 parent f70271d commit b5e644d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/scoreview/SheetView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ export default defineComponent({
},
},
async mounted () {
/* eslint-disable @typescript-eslint/unbound-method */
/* eslint-disable @typescript-eslint/unbound-method */ // for `this.calRatio`
this.calRatio()
// on entering/exiting fullscreen mode
document.addEventListener('fullscreenchange', this.calRatio)
Expand Down

0 comments on commit b5e644d

Please sign in to comment.