diff --git a/src/lib/editor/FloatingBar.svelte b/src/lib/editor/FloatingBar.svelte index bd9e4eb..4f96157 100644 --- a/src/lib/editor/FloatingBar.svelte +++ b/src/lib/editor/FloatingBar.svelte @@ -1,7 +1,6 @@ {#if isMobile && hasImage} -
-
- - - - - - - -
+
+ + + + + {#snippet child({ props })} + + {/snippet} + + + {#snippet child({ props })} + + {/snippet} + + + {#snippet child({ props })} + + {/snippet} + + + + (activePanel = '')} /> + + + (activePanel = '')} /> + + + (activePanel = '')} /> + +
{:else if hasImage} -
+
@@ -76,48 +107,47 @@ Reset - - - - - - - + + + {#snippet child({ props })} + + {/snippet} + + + {#snippet child({ props })} + + {/snippet} + + + {#snippet child({ props })} + + {/snippet} + +
-
-{/if} - -{#if activePanel === 'rotation'} - (activePanel = null)} /> -{/if} - -{#if activePanel === 'position'} - (activePanel = null)} /> -{/if} - -{#if activePanel === 'border'} - (activePanel = null)} /> + + (activePanel = '')} /> + + + (activePanel = '')} /> + + + (activePanel = '')} /> + + {/if}