diff --git a/AutoRobot/Windows/Robot/Web/src/DockLayout/DockIndicator.vue b/AutoRobot/Windows/Robot/Web/src/DockLayout/DockIndicator.vue index 0afa831..839f9a6 100644 --- a/AutoRobot/Windows/Robot/Web/src/DockLayout/DockIndicator.vue +++ b/AutoRobot/Windows/Robot/Web/src/DockLayout/DockIndicator.vue @@ -694,10 +694,10 @@ const previewAreaStyle = computed(() => { case 'center': return { position: 'absolute', - left: `${left + width * threshold}px`, - top: `${top + height * threshold}px`, - width: `${width * (1 - 2 * threshold)}px`, - height: `${height * (1 - 2 * threshold)}px` + left: `${left}px`, + top: `${top}px`, + width: `${width}px`, + height: `${height}px` }; default: return {};