From 98b19d82a589ad9a01fa98726d6bbd76833c2136 Mon Sep 17 00:00:00 2001 From: ebolam Date: Tue, 6 Dec 2022 10:45:54 -0500 Subject: [PATCH] Update speak right click option to speak the text without requiring text selection --- static/koboldai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/koboldai.js b/static/koboldai.js index effac0d5..d2225646 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -101,7 +101,7 @@ var finder_actions = [ const context_menu_actions = { gamescreen: [ - {label: "Speak", icon: "record_voice_over", enabledOn: "SELECTION", click: speak_audio}, + {label: "Speak", icon: "record_voice_over", enabledOn: "CARET", click: speak_audio}, null, {label: "Cut", icon: "content_cut", enabledOn: "SELECTION", click: cut}, {label: "Copy", icon: "content_copy", enabledOn: "SELECTION", click: copy},