diff --git a/plugins/setting-resources/src/components/EditEnum.svelte b/plugins/setting-resources/src/components/EditEnum.svelte
index c1f8637782..35851ee575 100644
--- a/plugins/setting-resources/src/components/EditEnum.svelte
+++ b/plugins/setting-resources/src/components/EditEnum.svelte
@@ -15,7 +15,7 @@
@@ -53,12 +65,20 @@
selected = value
}}
>
- {value.name}
+
update(value)} />
+ {
+ showPopup(ContextMenu, { object: value }, eventToHTMLElement(ev), () => {})
+ }}
+ >
+
+
{/each}
-
+
{#if selected !== undefined}
{/if}
diff --git a/plugins/setting-resources/src/components/EnumValues.svelte b/plugins/setting-resources/src/components/EnumValues.svelte
index ef96fa484e..7ba9fb069d 100644
--- a/plugins/setting-resources/src/components/EnumValues.svelte
+++ b/plugins/setting-resources/src/components/EnumValues.svelte
@@ -14,48 +14,51 @@
-->
-
{
+ if (evt.key === 'Enter') {
+ add()
+ }
+ }}
+ kind="large-style"
+ bind:value={newValue}
+ maxWidth="18rem"
/>
+
- {#each values as value}
+ {#each value.enumValues as value}
- {value}
{
@@ -67,12 +70,3 @@
{/each}
-
-