diff --git a/packages/vuerd-app/src/components/Icon.vue b/packages/vuerd-app/src/components/Icon.vue index 2e42091c..b342e7a5 100644 --- a/packages/vuerd-app/src/components/Icon.vue +++ b/packages/vuerd-app/src/components/Icon.vue @@ -49,6 +49,7 @@ export default defineComponent({ diff --git a/packages/vuerd-app/src/components/Sash.vue b/packages/vuerd-app/src/components/Sash.vue index d35c456e..0ac1008e 100644 --- a/packages/vuerd-app/src/components/Sash.vue +++ b/packages/vuerd-app/src/components/Sash.vue @@ -1,4 +1,4 @@ - + + diff --git a/packages/vuerd-app/src/components/editor/Editor.vue b/packages/vuerd-app/src/components/editor/Editor.vue index 2f606e80..e9dff548 100644 --- a/packages/vuerd-app/src/components/editor/Editor.vue +++ b/packages/vuerd-app/src/components/editor/Editor.vue @@ -1,5 +1,5 @@ diff --git a/packages/vuerd-app/src/components/editor/SplitView.vue b/packages/vuerd-app/src/components/editor/SplitView.vue index 4d992ace..7b5dc8de 100644 --- a/packages/vuerd-app/src/components/editor/SplitView.vue +++ b/packages/vuerd-app/src/components/editor/SplitView.vue @@ -28,10 +28,9 @@ export default defineComponent({ let lastClientX = 0; let lastClientY = 0; - const getClassMap = (node: ViewNode, index: number) => ({ + const getClassMap = (node: ViewNode) => ({ vertical: node.vertical, horizontal: node.horizontal, - left: node.vertical && index, }); const getStyleMap = (node: ViewNode) => ({ @@ -124,14 +123,12 @@ export default defineComponent({ if (props.node.vertical) { if (movementX < 0) { - // left moveWidth( event, props.node.children[index - 1], props.node.children[index] ); } else { - // right moveWidth( event, props.node.children[index], @@ -140,14 +137,12 @@ export default defineComponent({ } } else if (props.node.horizontal) { if (movementY < 0) { - // top moveHeight( event, props.node.children[index - 1], props.node.children[index] ); } else { - // bottom moveHeight( event, props.node.children[index], @@ -168,11 +163,10 @@ export default defineComponent({