mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 01:21:14 +08:00
🎨
This commit is contained in:
parent
9b7385bcb7
commit
461f0bb347
@ -243,7 +243,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
|
||||
} else if (target.classList.contains("av__cell")) {
|
||||
if (!hasClosestByClassName(target, "av__row--header")) {
|
||||
const scrollElement = hasClosestByClassName(target, "av__scroll");
|
||||
if (!scrollElement) {
|
||||
if (!scrollElement || target.querySelector(".av__pulse")) {
|
||||
return;
|
||||
}
|
||||
const rowElement = hasClosestByClassName(target, "av__row");
|
||||
|
@ -26,10 +26,8 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v
|
||||
if (e.getAttribute("data-render") === "true") {
|
||||
return;
|
||||
}
|
||||
let time: number;
|
||||
if (e.firstElementChild.innerHTML === "") {
|
||||
e.style.alignSelf = "";
|
||||
time = new Date().getTime();
|
||||
let html = "";
|
||||
[1, 2, 3].forEach(() => {
|
||||
html += `<div class="av__row">
|
||||
|
Loading…
Reference in New Issue
Block a user