Merge pull request #8179 from uinstinct/active-file-click-send

fix: HOTFIX prevent active file sending on click
This commit is contained in:
Dallin Romney 2025-10-11 01:56:02 -07:00 • committed by GitHub
commit da5cf39eb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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),
});
}
}}