From 36bd3816d404c95637ebab3645059d1d8180b02d Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 22 Nov 2024 21:31:34 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12760 --- app/src/block/Panel.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/block/Panel.ts b/app/src/block/Panel.ts index 1a896dcd7..304bfcf4c 100644 --- a/app/src/block/Panel.ts +++ b/app/src/block/Panel.ts @@ -334,5 +334,11 @@ export class BlockPanel { if (this.targetElement) { this.targetElement.style.cursor = ""; } + + this.element.querySelector(".block__content").addEventListener("scroll", () => { + this.editors.forEach(item => { + hideElements(["gutter"], item.protyle) + }) + }) } }