Globe: Add opacity option, Part globe WIP
- Don't run the onScroll method on load, creates a funky translate otherwise - Bind window innerHeight via Svelte - Path scroll smoothing option value as prop
This commit is contained in:
@@ -120,11 +120,7 @@
|
||||
|
||||
{#if process.browser}
|
||||
<Lazy offset={window.innerHeight}>
|
||||
<InteractiveGlobe size={
|
||||
(winWidth <= 768) ? 0.96 :
|
||||
(winWidth <= 992) ? 0.6 :
|
||||
0.575}
|
||||
/>
|
||||
<InteractiveGlobe />
|
||||
</Lazy>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user