diff --git a/app/components/PropertiesPanel.tsx b/app/components/PropertiesPanel.tsx index 2c45b8c..76e8b04 100644 --- a/app/components/PropertiesPanel.tsx +++ b/app/components/PropertiesPanel.tsx @@ -128,7 +128,7 @@ export const PropertiesPanel = () => { "hidde-scrollbar" )} > - {!properties?.x === undefined && + {properties?.x && properties?.y && properties?.width && properties?.height && diff --git a/app/components/TopBar.tsx b/app/components/TopBar.tsx index 4dbaeee..51ef618 100644 --- a/app/components/TopBar.tsx +++ b/app/components/TopBar.tsx @@ -155,6 +155,9 @@ export const TopBar = ({ Draft )} + setIsDraft(false)}