修改中心主指示器:半透明区域显示为完整目标区域范围

This commit is contained in:
zqm
2025-11-14 10:48:49 +08:00
parent 05d1dd866a
commit 806674d5aa

View File

@@ -694,10 +694,10 @@ const previewAreaStyle = computed(() => {
case 'center': case 'center':
return { return {
position: 'absolute', position: 'absolute',
left: `${left + width * threshold}px`, left: `${left}px`,
top: `${top + height * threshold}px`, top: `${top}px`,
width: `${width * (1 - 2 * threshold)}px`, width: `${width}px`,
height: `${height * (1 - 2 * threshold)}px` height: `${height}px`
}; };
default: default:
return {}; return {};