기능추가

This commit is contained in:
leeheejin
2025-11-06 17:32:29 +09:00
parent b3cd771b99
commit ead3433f3e
8 changed files with 232 additions and 147 deletions

View File

@@ -1267,21 +1267,6 @@ export default function ScreenList({ onScreenSelect, selectedScreen, onDesignScr
zIndex: component.position.z || 1,
};
// 버튼 타입일 때 디버깅 (widget 타입 또는 component 타입 모두 체크)
if (
(component.type === "widget" && (component as any).widgetType === "button") ||
(component.type === "component" && (component as any).componentType?.includes("button"))
) {
console.log("🔘 ScreenList 버튼 외부 div 스타일:", {
id: component.id,
label: component.label,
position: component.position,
size: component.size,
componentStyle: component.style,
appliedStyle: style,
});
}
return style;
})()}
>