frontend: tigger paint when ctrl is pressed
This commit is contained in:
@@ -46,7 +46,7 @@ const PromptInput = () => {
|
||||
}
|
||||
|
||||
const onKeyUp = (e: React.KeyboardEvent) => {
|
||||
if (e.key === "Enter" && !isProcessing) {
|
||||
if (e.key === "Enter" && e.ctrlKey && prompt.length !== 0) {
|
||||
handleRepaintClick()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user