From e71033615a5d433cec35e3be6bcdad25c754e820 Mon Sep 17 00:00:00 2001
From: jellydeck <91427591+jellydeck@users.noreply.github.com>
Date: Fri, 27 Mar 2026 12:22:35 +0530
Subject: [PATCH] chore: use Tabs in floatingbar
---
src/lib/editor/FloatingBar.svelte | 190 +++++++++++++++++-------------
1 file changed, 110 insertions(+), 80 deletions(-)
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}
--
2.51.2