Skip to content

Commit

Permalink
fix extra brace
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkeller committed May 24, 2020
1 parent 0871e9b commit 4396eb6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/LayerCake.svelte
Expand Up @@ -234,6 +234,8 @@
const aspectRatio_d = derived([width_d, height_d], ([$width, $height]) => $width / $height);
$: console.log($aspectRatio_d, $width_d, $height_d)
$: context = {
activeGetters: activeGetters_d,
width: width_d,
Expand Down Expand Up @@ -289,7 +291,11 @@
{#if (ssr === true || typeof window !== 'undefined')}
<div
class="layercake-container"
style="position:{position};{position === 'absolute' ? 'top:0;left:0;' : ''}{pointerEvents === false ? 'pointer-events:none;' : ''}'}"
style="
position:{position};
{position === 'absolute' ? 'top:0;left:0;' : ''}
{pointerEvents === false ? 'pointer-events:none;' : ''}
"
bind:clientWidth={containerWidth}
bind:clientHeight={containerHeight}
>
Expand Down

0 comments on commit 4396eb6

Please sign in to comment.