From 059b91d37d31a5580bea9262c840d7a8e98a4590 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 23 Mar 2022 16:09:31 +0100 Subject: [PATCH] remove the word "preset" from the preset dropdown --- main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ts b/main.ts index 81824e6..2ec909d 100644 --- a/main.ts +++ b/main.ts @@ -250,7 +250,7 @@ class CustomFramesSettingTab extends PluginSettingTab { let dropdown = new DropdownComponent(addDiv); dropdown.addOption("new", "Custom"); for (let key of Object.keys(presets)) - dropdown.addOption(key, `${presets[key].displayName} Preset`); + dropdown.addOption(key, presets[key].displayName); new ButtonComponent(addDiv) .setButtonText("Add Frame") .onClick(async () => {