Update gui/src/components/mainInput/InputToolbar.tsx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Aditya Mitra 2025-10-10 11:42:23 +05:30 • committed by GitHub
parent c8109aedf6
commit 4d2b2e72eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -223,7 +223,7 @@ function InputToolbar(props: InputToolbarProps) {
useCodebase: false,
noContext: useActiveFile
? isMetaEquivalentKeyPressed(e as any) || e.altKey
: !isMetaEquivalentKeyPressed(e as any) || e.altKey,
: !(isMetaEquivalentKeyPressed(e as any) || e.altKey),
});
}
}}