mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Remove the useless PresentationModeState.CHANGING
-case in PDFCursorTools
(PR 12788 follow-up)
For reasons that I now can't for the life of me understand, I included handling of the `PresentationModeState.CHANGING`-case despite it not actually doing anything.
This commit is contained in:
parent
1ca816d724
commit
4c107d8d7c
1 changed files with 0 additions and 2 deletions
|
@ -129,8 +129,6 @@ class PDFCursorTools {
|
|||
|
||||
this.eventBus._on("presentationmodechanged", evt => {
|
||||
switch (evt.state) {
|
||||
case PresentationModeState.CHANGING:
|
||||
break;
|
||||
case PresentationModeState.FULLSCREEN: {
|
||||
const previouslyActive = this.active;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue