mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-11-01 12:17:18 +00:00
progress
This commit is contained in:
1 parent
ed90ba6a1f
commit
b2495d1466
6 files changed
+186
-16
No files matched your search
@@ -61,7 +61,6 @@
|
||||
{:else}
|
||||
{@const id = fileIdAt($workspace, entry.path)}
|
||||
{@const selected = id !== undefined && selectedFileIds($selection).includes(id)}
|
||||
{@const dirty = id !== undefined && $workspace?.files[id]?.dirty === true}
|
||||
<Button
|
||||
variant="ghost"
|
||||
class="w-full h-7 px-1 justify-start gap-1.5 border-none font-normal {selected
|
||||
@@ -72,9 +71,6 @@
|
||||
>
|
||||
<FileText size="16" class="shrink-0" />
|
||||
<span class="grow truncate text-left">{entry.name}</span>
|
||||
{#if dirty}
|
||||
<span class="size-1.5 shrink-0 rounded-full bg-foreground"></span>
|
||||
{/if}
|
||||
</Button>
|
||||
{/if}
|
||||
{/each}
|
||||
Reference in new issue
Block a user