修改中心主指示器:半透明区域显示为完整目标区域范围
This commit is contained in:
@@ -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 {};
|
||||
|
||||
Reference in New Issue
Block a user