1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Merge pull request #19121 from Snuffleupagus/more-stopEvent

Use the `stopEvent` helper function everywhere possible
This commit is contained in:
Jonas Jenwald 2024-11-28 17:21:34 +01:00 committed by GitHub
commit 65f20b0392
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 32 additions and 31 deletions

View file

@ -53,6 +53,7 @@ import {
PixelsPerInch,
RenderingCancelledException,
setLayerDimensions,
stopEvent,
} from "../../src/display/display_utils.js";
import { AnnotationEditorLayer } from "../../src/display/editor/annotation_editor_layer.js";
import { AnnotationEditorUIManager } from "../../src/display/editor/tools.js";
@ -102,6 +103,7 @@ const expectedAPI = Object.freeze({
RenderingCancelledException,
setLayerDimensions,
shadow,
stopEvent,
TextLayer,
UnexpectedResponseException,
Util,