Skip to content

Commit

Permalink
Add missing visible prop
Browse files Browse the repository at this point in the history
  • Loading branch information
gbalint committed Oct 10, 2024
1 parent 1509747 commit 145fe5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/src/components/canvas/controls/grid-controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1854,10 +1854,10 @@ function gridPlaceholderWidthOrHeight(scale: number): string {
export function controlsForGridPlaceholders(
gridPath: ElementPath,
whenToShow: WhenToShowControl = 'always-visible',
): ControlWithProps<any> {
): ControlWithProps<GridControlsProps> {
return {
control: GridControls,
props: { targets: [gridPath] },
props: { targets: [gridPath], visible: 'visible' },
key: GridControlsKey(gridPath),
show: whenToShow,
priority: 'bottom',
Expand Down

0 comments on commit 145fe5a

Please sign in to comment.