mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-10 20:43:45 +08:00
🎨
This commit is contained in:
parent
1b45bc002e
commit
93f623597f
@ -214,7 +214,6 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
|
||||
<span class="item__text">${item.name}</span>
|
||||
</div>`;
|
||||
});
|
||||
setTimeout(() => {
|
||||
e.firstElementChild.outerHTML = `<div class="av__container" style="--av-background:${e.style.backgroundColor || "var(--b3-theme-background)"}">
|
||||
<div class="av__header">
|
||||
<div class="fn__flex av__views">
|
||||
@ -317,7 +316,6 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
|
||||
if (cb) {
|
||||
cb();
|
||||
}
|
||||
}, time ? 256 - (new Date().getTime() - time) : 0); // 为了让动画更好看,需延时到 256ms
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user