mirror of
https://github.com/Shu-Ying/noname-shuying.git
synced 2026-11-24 22:16:30 +08:00
fixed # 新增缩放倍率适配
This commit is contained in:
@@ -328,7 +328,7 @@ export function openCardLibrary(run, options = {}) {
|
||||
// Prevent the map's Escape/Tab handler from acting behind this modal.
|
||||
dialog.addEventListener("keydown", event => event.stopPropagation());
|
||||
render();
|
||||
document.body.appendChild(dialog);
|
||||
document.documentElement.appendChild(dialog);
|
||||
try { dialog.showModal(); } catch (error) { close(); throw error; }
|
||||
fitCards();
|
||||
if (typeof ResizeObserver !== "undefined") {
|
||||
|
||||
Reference in New Issue
Block a user