fix: 窗间竖向分隔线居中(去掉+DIVIDER/2的3px右偏) 对齐窗缝正中

This commit is contained in:
Aisland
2026-08-17 22:07:29 +08:00
parent 1b37df0102
commit b22cd6b625
3 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -1341,7 +1341,7 @@ function SplitWorkspace() {
className="dsh-wt_splitDivider"
role="separator"
title="拖动调整宽度"
style={{ position: 'fixed', left: topRowX + it.left + it.width + DIVIDER / 2, top: topY, width: DIVIDER, height: topH, zIndex: 72 }}
style={{ position: 'fixed', left: topRowX + it.left + it.width, top: topY, width: DIVIDER, height: topH, zIndex: 72 }}
onPointerDown={makeDividerHandler('topPane', i)}
/>
))}
@@ -1352,7 +1352,7 @@ function SplitWorkspace() {
className="dsh-wt_splitDivider"
role="separator"
title="拖动调整宽度"
style={{ position: 'fixed', left: contentX + it.left + it.width + DIVIDER / 2, top: bodyTop, width: DIVIDER, height: mainH, zIndex: 72 }}
style={{ position: 'fixed', left: contentX + it.left + it.width, top: bodyTop, width: DIVIDER, height: mainH, zIndex: 72 }}
onPointerDown={makeDividerHandler('pane', i)}
/>
))}