fix: prevent active file sending on click
This commit is contained in:
parent
64b7061618
commit
c8109aedf6
1 changed files with 2 additions and 2 deletions
|
|
@ -222,8 +222,8 @@ function InputToolbar(props: InputToolbarProps) {
|
|||
props.onEnter({
|
||||
useCodebase: false,
|
||||
noContext: useActiveFile
|
||||
? !(isMetaEquivalentKeyPressed(e as any) || e.altKey)
|
||||
: isMetaEquivalentKeyPressed(e as any) || e.altKey,
|
||||
? isMetaEquivalentKeyPressed(e as any) || e.altKey
|
||||
: !isMetaEquivalentKeyPressed(e as any) || e.altKey,
|
||||
});
|
||||
}
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue