diff --git a/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/Transform/TransformEditor.tsx b/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/Transform/TransformEditor.tsx index 20dc6f4bd..3749f9b48 100644 --- a/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/Transform/TransformEditor.tsx +++ b/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/Transform/TransformEditor.tsx @@ -61,16 +61,11 @@ const ROW_MODES: AnchorMode[] = ['start', 'center', 'end', 'stretch']; const CORNERS: readonly { id: Corner; label: string; - positionClass: string; }[] = [ - { id: 'top-left', label: '左上角', positionClass: 'left-1 top-1' }, - { id: 'top-right', label: '右上角', positionClass: 'right-1 top-1' }, - { id: 'bottom-left', label: '左下角', positionClass: 'bottom-1 left-1' }, - { - id: 'bottom-right', - label: '右下角', - positionClass: 'bottom-1 right-1', - }, + { id: 'top-left', label: '左上角' }, + { id: 'top-right', label: '右上角' }, + { id: 'bottom-left', label: '左下角' }, + { id: 'bottom-right', label: '右下角' }, ]; function CornerIcon({