mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Update the CaretBrowsingMode
toolbar-height if the toolbarDensity
preference changes (PR 18786 follow-up)
Otherwise the isVisible-calculations may not work correctly.
This commit is contained in:
parent
f2a132f826
commit
7c9d177826
2 changed files with 22 additions and 3 deletions
|
@ -876,6 +876,7 @@ const PDFViewerApplication = {
|
|||
|
||||
moveCaret(isUp, select) {
|
||||
this._caretBrowsing ||= new CaretBrowsingMode(
|
||||
this._globalAbortController.signal,
|
||||
this.appConfig.mainContainer,
|
||||
this.appConfig.viewerContainer,
|
||||
this.appConfig.toolbar?.container
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue