mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
🚨
This commit is contained in:
parent
b640497cf0
commit
d01fec553d
3 changed files with 4 additions and 4 deletions
|
|
@ -379,7 +379,7 @@ export const bazaar = {
|
|||
});
|
||||
}
|
||||
bazaar._data.downloaded = response.data.packages;
|
||||
const checkElement = contentElement.parentElement.querySelector(".b3-switch")
|
||||
const checkElement = contentElement.parentElement.querySelector(".b3-switch");
|
||||
if (bazaarType === "plugins") {
|
||||
checkElement.classList.remove("fn__none");
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ export const handleTouchStart = (event: TouchEvent) => {
|
|||
time = 0;
|
||||
event.stopImmediatePropagation();
|
||||
}
|
||||
scrollBlock = false
|
||||
scrollBlock = false;
|
||||
};
|
||||
|
||||
let previousClientX: number;
|
||||
|
|
@ -229,7 +229,7 @@ export const handleTouchMove = (event: TouchEvent) => {
|
|||
(xDiff < 0 && scrollElement.scrollLeft > 0) ||
|
||||
(xDiff > 0 && scrollElement.clientWidth + scrollElement.scrollLeft < scrollElement.scrollWidth)
|
||||
)) {
|
||||
scrollBlock = true
|
||||
scrollBlock = true;
|
||||
return;
|
||||
}
|
||||
if (scrollBlock) {
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
|
|||
/// #endif
|
||||
cellRect = cellElements[0].getBoundingClientRect();
|
||||
let html = "";
|
||||
let height = cellRect.height
|
||||
let height = cellRect.height;
|
||||
if (contentElement) {
|
||||
const contentRect = contentElement.getBoundingClientRect();
|
||||
if (cellRect.bottom > contentRect.bottom) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue