mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 02:04:20 +01:00
This commit is contained in:
parent
13feca6f28
commit
90f5e6b081
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ export const windowMouseMove = (event: MouseEvent, mouseIsEnter: boolean) => {
|
|||
if (eventPath0 && eventPath0.nodeType !== 3 && (
|
||||
eventPath0.classList.contains("li") ||
|
||||
eventPath0.classList.contains("list") ||
|
||||
eventPath0.classList.contains("protyle-action")
|
||||
(eventPath0.classList.contains("protyle-action") && eventPath0.getAttribute("data-type") === "NodeListItem")
|
||||
)) {
|
||||
// 光标在列表下部应显示右侧的元素,而不是列表本身
|
||||
const targetBlockElement = getRightBlock(eventPath0, eventPath0.getBoundingClientRect().left + 1, event.clientY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue