From 4c107d8d7c9a45245e9136ad9301e1a6dea0091c Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sun, 14 Feb 2021 10:39:49 +0100 Subject: [PATCH] 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. --- web/pdf_cursor_tools.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/pdf_cursor_tools.js b/web/pdf_cursor_tools.js index c55bf34bc..39cc532f7 100644 --- a/web/pdf_cursor_tools.js +++ b/web/pdf_cursor_tools.js @@ -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;