@@ -145,8 +145,6 @@ function isValidAnnotationEditorMode(mode) {
145145 * @property {Object } [pageColors] - Overwrites background and foreground colors
146146 * with user defined ones in order to improve readability in high contrast
147147 * mode.
148- * @property {boolean } [enableHWA] - Enables hardware acceleration for
149- * rendering. The default value is `false`.
150148 * @property {boolean } [supportsPinchToZoom] - Enable zooming on pinch gesture.
151149 * The default value is `true`.
152150 * @property {boolean } [enableAutoLinking] - Enable creation of hyperlinks from
@@ -245,8 +243,6 @@ class PDFViewer {
245243
246244 #editorUndoBar = null ;
247245
248- #enableHWA = false ;
249-
250246 #enableHighlightFloatingButton = false ;
251247
252248 #enablePermissions = false ;
@@ -372,7 +368,6 @@ class PDFViewer {
372368 this . #enablePermissions = options . enablePermissions || false ;
373369 this . pageColors = options . pageColors || null ;
374370 this . #mlManager = options . mlManager || null ;
375- this . #enableHWA = options . enableHWA || false ;
376371 this . #supportsPinchToZoom = options . supportsPinchToZoom !== false ;
377372 this . #enableAutoLinking = options . enableAutoLinking !== false ;
378373 this . #minDurationToUpdateCanvas = options . minDurationToUpdateCanvas ?? 500 ;
@@ -1070,7 +1065,6 @@ class PDFViewer {
10701065 pageColors,
10711066 l10n : this . l10n ,
10721067 layerProperties : this . _layerProperties ,
1073- enableHWA : this . #enableHWA,
10741068 enableAutoLinking : this . #enableAutoLinking,
10751069 minDurationToUpdateCanvas : this . #minDurationToUpdateCanvas,
10761070 commentManager : this . #commentManager,
0 commit comments