fix: 调整机器人标签位置以减少被覆盖的可能性,优化视觉效果

This commit is contained in:
xudan 2025-08-26 09:37:30 +08:00
parent 45b25ac9d3
commit 84b882c10e

View File

@ -960,7 +960,7 @@ export class EditorService extends Meta2d {
robot: { type },
visible: false,
text: label,
textTop: -24,
textTop: -18, // 调整标签位置,更靠近机器人本体,减少被覆盖的可能性
whiteSpace: 'nowrap',
ellipsis: false,
locked: LockState.Disable,