mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
Merge branch 'main' into data-driven
This commit is contained in:
1 parent
6ebb2810ad
commit
b4175dc60d
2 files changed
+4
-1
No files matched your search
@@ -41,6 +41,7 @@ message TankDefinition {
|
||||
uint32 weight = 31;
|
||||
string dev_name = 32;
|
||||
optional Equalizer equalizer = 33;
|
||||
optional I18nString name_full = 34;
|
||||
}
|
||||
|
||||
message Equalizer {
|
||||
|
||||
@@ -45,7 +45,9 @@ export function TankSearchBar({
|
||||
}, []);
|
||||
const handleKeyDown = useCallback<KeyboardEventHandler>(
|
||||
(event) => {
|
||||
if (event.key !== "Enter" || !topResult) return;
|
||||
if (event.key !== "Enter" || !topResult || !TankFilters.state.search) {
|
||||
return;
|
||||
}
|
||||
|
||||
event.preventDefault();
|
||||
|
||||
|
||||
Reference in new issue
Block a user