From bb293dd2e05afbdd053cfb2d4ded127a989d1c5d Mon Sep 17 00:00:00 2001 From: Mitchel Date: Sat, 10 Feb 2024 14:33:06 +0100 Subject: [PATCH] chore: Move toggleable settings to the top of the settings dropdown --- .../src/components/editor/Settings.svelte | 88 ++++++++++--------- 1 file changed, 46 insertions(+), 42 deletions(-) diff --git a/app/javascript/src/components/editor/Settings.svelte b/app/javascript/src/components/editor/Settings.svelte index dbf9fc1c3..57aa87bad 100644 --- a/app/javascript/src/components/editor/Settings.svelte +++ b/app/javascript/src/components/editor/Settings.svelte @@ -61,46 +61,9 @@ {#if active}
active = false} class="dropdown__content block p-1/4" style="width: 300px"> -
Font
- -
- - -
- -
- - -
- -
- -
Cursor
- -
- - -
+
Settings
-
- - -
- -
- -
Syntax Highlighting
- - {#each syntaxHighlight as color} -
- - -
- {/each} - -
- -
+
@@ -109,7 +72,7 @@
-
+
@@ -118,7 +81,7 @@
-
+
{#if $settings["autocomplete-parameter-objects"]} -
+
@@ -144,6 +107,47 @@
{/if} +
+ +
Font
+ +
+ + +
+ +
+ + +
+ +
+ +
Cursor
+ +
+ + +
+ +
+ + +
+ +
+ +
Syntax Highlighting
+ + {#each syntaxHighlight as color} +
+ + +
+ {/each} + +
+
{/if}