Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Supports drag-and-drop sorting of document tags https://github.com/siyuan-note/siyuan/issues/13436 https://github.com/siyuan-note/siyuan/issues/17384#issuecomment-4358838442 37

Daniele432af01e4c7
diff --git a/app/src/protyle/header/Background.ts b/app/src/protyle/header/Background.ts
index 183e5db075..d663e9f267 100644
--- a/app/src/protyle/header/Background.ts
+++ b/app/src/protyle/header/Background.ts
@@ -419,7 +419,6 @@ export class Background {
let dragOffsetX = 0;
let dragOffsetY = 0;
let dragCloneWidth = 0;
- let dragCloneHeight = 0;
let lastTargetChip: HTMLElement | null = null;
let dragMouseX = 0;
let dragMouseY = 0;
@@ -440,7 +439,6 @@ export class Background {
dragOffsetX = rect.width / 2;
dragOffsetY = rect.height / 2;
dragCloneWidth = rect.width;
- dragCloneHeight = rect.height;
dragMouseX = event.clientX;
dragMouseY = event.clientY;
lastTargetChip = null;