Skip to content

Commit

Permalink
add more absolute pos
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkeller committed May 31, 2020
1 parent df01f6a commit fd9e3e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/LayerCake.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
class="layercake-container"
style="
position:{position};
{position === 'absolute' ? 'top:0;left:0;' : ''}
{position === 'absolute' ? 'top:0;right:0;bottom:0;left:0;' : ''}
{pointerEvents === false ? 'pointer-events:none;' : ''}
"
bind:clientWidth={containerWidth}
Expand Down
1 change: 1 addition & 0 deletions src/Layouts/Webgl.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
export let contextOptions;
export let zIndex = undefined;
export let pointerEvents = undefined;
let canvasElement;
let testGl;
Expand Down

0 comments on commit fd9e3e1

Please sign in to comment.