Skip to content

Commit

Permalink
Add position panel
Browse files Browse the repository at this point in the history
  • Loading branch information
constant committed Jun 13, 2024
1 parent 5936f51 commit dc7b13a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/PropertiesPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const PropertiesPanel = () => {
"hidde-scrollbar"
)}
>
{!properties?.x === undefined &&
{properties?.x &&
properties?.y &&
properties?.width &&
properties?.height &&
Expand Down
3 changes: 3 additions & 0 deletions app/components/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ export const TopBar = ({
<Badge color="gray">Draft</Badge>
</Tooltip>
)}
<Button variant="outline" highContrast>
Use template
</Button>
<DeployButton
templateId={templateId}
onDeploy={() => setIsDraft(false)}
Expand Down

0 comments on commit dc7b13a

Please sign in to comment.