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:
Jonas Jenwald 2021-02-14 10:39:49 +01:00
parent 1ca816d724
commit 4c107d8d7c

View File

@ -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;