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
@ -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…
Reference in New Issue
Block a user