diff --git a/frontend/index.html b/frontend/index.html index df8520a..5deb4fb 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -15,6 +15,7 @@
+
diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index ff234ac..70a0207 100755 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -499da1237327bf4ddd2de74bfd6635c7 \ No newline at end of file +5d3dd16f94d140a9f950a48981534162 \ No newline at end of file diff --git a/frontend/src/app.svelte b/frontend/src/app.svelte index b66f9cc..b5ef25a 100644 --- a/frontend/src/app.svelte +++ b/frontend/src/app.svelte @@ -1,39 +1,44 @@ @@ -41,23 +46,20 @@
{$windowTitle}
- {#if $applicationInited && $hosts && (showWelcomeScreen !== undefined)} + {#if $applicationInited && (showWelcomeScreen !== undefined)}
{#if showWelcomeScreen} {:else} - + {/if}
{#key $contextMenu} {/key} - - - {/if}
diff --git a/frontend/src/components/grid-items.svelte b/frontend/src/components/grid-items.svelte index c519613..1cb1536 100644 --- a/frontend/src/components/grid-items.svelte +++ b/frontend/src/components/grid-items.svelte @@ -66,7 +66,7 @@ activeKey = itemKey; activePath = [ ...path.slice(0, level), itemKey ]; - dispatch('select', { level, itemKey, index }); + dispatch('select', { level, itemKey, index, path: activePath }); } function closeAll() { diff --git a/frontend/src/components/modal.svelte b/frontend/src/components/modal.svelte index fedabf4..bfe99b2 100644 --- a/frontend/src/components/modal.svelte +++ b/frontend/src/components/modal.svelte @@ -4,15 +4,17 @@ @@ -42,7 +48,7 @@ {#if title}
{title}
-
@@ -69,6 +75,7 @@ background-color: rgba(0, 0, 0, 0.5); margin: 0; padding-top: 50px; + --wails-draggable: drag; } :global(#root.platform-darwin) .outer { margin-top: var(--darwin-titlebar-height); @@ -86,6 +93,7 @@ flex-flow: column; cursor: auto; overflow: hidden; + --wails-draggable: nodrag; } .inner > :global(*:first-child) { margin-top: 0; diff --git a/frontend/src/components/objectviewer.svelte b/frontend/src/components/objectviewer.svelte index f7f2ef8..db404f2 100644 --- a/frontend/src/components/objectviewer.svelte +++ b/frontend/src/components/objectviewer.svelte @@ -1,10 +1,10 @@ - +
Rolens logo
diff --git a/frontend/src/organisms/settings/index.svelte b/frontend/src/dialogs/settings/index.svelte similarity index 95% rename from frontend/src/organisms/settings/index.svelte rename to frontend/src/dialogs/settings/index.svelte index ae4f169..c203330 100644 --- a/frontend/src/organisms/settings/index.svelte +++ b/frontend/src/dialogs/settings/index.svelte @@ -3,11 +3,9 @@ import Modal from '$components/modal.svelte'; import input from '$lib/actions/input'; import settings from '$lib/stores/settings'; - - export let show = false; - +