Skip to content

Commit

Permalink
fix(view): Ensure layer defs are accessible to <mask>s in board rende…
Browse files Browse the repository at this point in the history
…rs (#305)

Fixes #303
  • Loading branch information
mcous committed Oct 10, 2019
1 parent 85497a5 commit 0d0ee60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/view/src/BoardDisplay/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function BoardDisplay(): JSX.Element {
source={board.bottom}
/>
<LayersRender
className={cx('w-100', {dn: mode !== 'layers'})}
className={cx('w-100', {clip: mode !== 'layers'})}
viewBox={board.viewBox}
layers={board.layers}
layerVisibility={layerVisibility}
Expand Down

0 comments on commit 0d0ee60

Please sign in to comment.