mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 形状控制点为0时渲染异常
This commit is contained in:
parent
6a95f8280c
commit
6aa6acaafa
@ -66,7 +66,7 @@ const scaleHeight = computed(() => props.elementInfo.height * canvasScale.value)
|
||||
const { resizeHandlers, borderLines } = useCommonOperate(scaleWidth, scaleHeight)
|
||||
|
||||
const keypointStyle = computed(() => {
|
||||
if (!props.elementInfo.pathFormula || !props.elementInfo.keypoint) return {}
|
||||
if (!props.elementInfo.pathFormula || props.elementInfo.keypoint === undefined) return {}
|
||||
|
||||
const pathFormula = SHAPE_PATH_FORMULAS[props.elementInfo.pathFormula]
|
||||
if ('editable' in pathFormula) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user