fix: 调整机器人标签位置以减少被覆盖的可能性,优化视觉效果
This commit is contained in:
parent
45b25ac9d3
commit
84b882c10e
@ -960,7 +960,7 @@ export class EditorService extends Meta2d {
|
|||||||
robot: { type },
|
robot: { type },
|
||||||
visible: false,
|
visible: false,
|
||||||
text: label,
|
text: label,
|
||||||
textTop: -24,
|
textTop: -18, // 调整标签位置,更靠近机器人本体,减少被覆盖的可能性
|
||||||
whiteSpace: 'nowrap',
|
whiteSpace: 'nowrap',
|
||||||
ellipsis: false,
|
ellipsis: false,
|
||||||
locked: LockState.Disable,
|
locked: LockState.Disable,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user