diff --git a/src/components/Canvas/DepthCanvas/components/details-panel/index.vue b/src/components/Canvas/DepthCanvas/components/details-panel/index.vue index f6eab4e..3cf1e93 100644 --- a/src/components/Canvas/DepthCanvas/components/details-panel/index.vue +++ b/src/components/Canvas/DepthCanvas/components/details-panel/index.vue @@ -10,7 +10,7 @@
- +
@@ -27,10 +27,10 @@ const layers = computed(() => layerManager.layers.value) const activeObject = ref(null) - const shapes = ['rect', 'line', 'path', 'triangle', 'polygon', 'ellipse'] - const isShape = computed(() => shapes.includes(activeObject.value?.type)) + // const shapes = ['rect', 'line', 'path', 'triangle', 'polygon', 'ellipse'] + // const isShape = computed(() => shapes.includes(activeObject.value?.type)) const isRepeat = computed(() => activeObject.value?.fill?.repeat === 'repeat') - const isShow = computed(() => isRepeat.value || isShape.value) + const isShow = computed(() => isRepeat.value) const updateActiveObject = () => { const obj = layers.value.find((v: any) => v.info.id === activeID.value)