mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: shot card equalizer
This commit is contained in:
1 parent
77c516a6eb
commit
145de2bbbc
4 files changed
+22
-7
No files matched your search
+4
@@ -12,6 +12,7 @@ import {
|
||||
} from "@radix-ui/themes";
|
||||
import { useLocale } from "../../../../hooks/useLocale";
|
||||
import { Duel } from "../../../../stores/duel";
|
||||
import { Tankopedia } from "../../../../stores/tankopedia";
|
||||
import { ConfigurationChildWrapper } from "./ConfigurationChildWrapper";
|
||||
|
||||
export function Equalizer() {
|
||||
@@ -35,6 +36,9 @@ export function Equalizer() {
|
||||
Duel.mutate((draft) => {
|
||||
draft.equalize = !draft.equalize;
|
||||
});
|
||||
Tankopedia.mutate((draft) => {
|
||||
draft.shot = undefined;
|
||||
});
|
||||
}}
|
||||
width="100%"
|
||||
style={{
|
||||
|
||||
Reference in new issue
Block a user