Skip to content

Commit

Permalink
fix: remove width passing to canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
Salman2301 committed Nov 2, 2024
1 parent 64ad792 commit 9976d85
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion playgrounds/app/src/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ export default function Editor(props: EditorProps) {
maxContainerDimensions()?.height || 100,
{
layout: {
width: props.snippetWidth,
yPadding: props.yPadding,
xPadding: props.xPadding,
},
Expand Down
1 change: 0 additions & 1 deletion playgrounds/app/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export interface Snippet {
}

export interface AnimationFrameLayout {
width: number
yPadding: number
xPadding: number
}
Expand Down

0 comments on commit 9976d85

Please sign in to comment.