mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-08-30 12:12:40 +08:00
@@ -925,7 +925,9 @@ async function renderPage(index, options = {}) {
|
||||
}
|
||||
try {
|
||||
setCurrentPage(index);
|
||||
if (options.fit !== false) {
|
||||
applyFit(false);
|
||||
}
|
||||
if (options.scroll !== false) {
|
||||
scrollToPage(index);
|
||||
}
|
||||
@@ -1690,7 +1692,7 @@ async function focusSignatureStamp(stamp) {
|
||||
if (!state.doc || pageIndex < 0) {
|
||||
return;
|
||||
}
|
||||
await renderPage(pageIndex);
|
||||
await renderPage(pageIndex, { fit: false });
|
||||
await nextFrame();
|
||||
highlightSignatureStamp(stamp);
|
||||
setStatus(stamp.page ? `已定位签名外观 第 ${stamp.page} 页` : "已定位签名外观");
|
||||
|
||||
Reference in New Issue
Block a user