优化标签气泡小角位置绑定关系
This commit is contained in:
parent
40887ba3c7
commit
02394ba493
@ -878,7 +878,8 @@ export default {
|
||||
left: `${layout.left}px`,
|
||||
top: `${layout.top}px`,
|
||||
maxWidth: `${layout.bubbleWidth}px`,
|
||||
maxHeight: `${layout.availableBubbleHeight}px`
|
||||
maxHeight: `${layout.availableBubbleHeight}px`,
|
||||
'--pet-tail-left': `${Math.round(layout.tailLeft)}px`
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@ -663,7 +663,8 @@ export default {
|
||||
return {
|
||||
left: `${Math.round(layout.left)}px`,
|
||||
top: `${Math.round(layout.top)}px`,
|
||||
width: `${Math.round(layout.bubbleWidth)}px`
|
||||
width: `${Math.round(layout.bubbleWidth)}px`,
|
||||
'--preview-tail-left': `${Math.round(layout.tailLeft)}px`
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user