Tier list maker make "No duplicates" the default

This commit is contained in:
Kalle
2026-06-27 10:24:40 +03:00
parent 7d3f32003c
commit 5ab50ac2f5
19 changed files with 20 additions and 21 deletions

View File

@@ -70,7 +70,6 @@
cursor: pointer;
}
.targetZoneSelectable:hover {
background-color: var(--color-bg-higher);
}

View File

@@ -74,7 +74,7 @@ export function useTierList() {
const [canAddDuplicates, setCanAddDuplicates] = useSearchParamState({
name: "canAddDuplicates",
defaultValue: true,
defaultValue: false,
revive: (value) => value === "true",
});

View File

@@ -227,10 +227,10 @@ function TierListMakerContent() {
))}
</SendouChipRadioGroup>
<SendouSwitch
isSelected={canAddDuplicates}
onChange={setCanAddDuplicates}
isSelected={!canAddDuplicates}
onChange={(value) => setCanAddDuplicates(!value)}
>
{t("tier-list-maker:allowDuplicates")}
{t("tier-list-maker:noDuplicates")}
</SendouSwitch>
<SendouSwitch
isSelected={showTierHeaders}

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "Hide alt kits",
"hideAltSkins": "Hide alt skins",
"resetConfirmation": "Are you sure you want to reset the tier list? This will remove all items and restore default tiers.",
"allowDuplicates": "Allow duplicates",
"noDuplicates": "No duplicates",
"showTierHeaders": "Show tier headers",
"titlePlaceholder": "Click to add title...",
"by": "Made by",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "Ocultar kits alternativos",
"hideAltSkins": "Ocultar skins alternativas",
"resetConfirmation": "¿Seguro que quieres reiniciar la tier list? Esto eliminará todos los elementos y restaurará las tiers por defecto.",
"allowDuplicates": "Permitir duplicados",
"noDuplicates": "",
"showTierHeaders": "Mostrar encabezados de las tiers",
"titlePlaceholder": "Haz clic para añadir un título...",
"by": "Creado por",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "",
"hideAltSkins": "",
"resetConfirmation": "",
"allowDuplicates": "",
"noDuplicates": "",
"showTierHeaders": "",
"titlePlaceholder": "",
"by": "",

View File

@@ -16,7 +16,7 @@
"hideAltKits": "隐藏贴牌武器",
"hideAltSkins": "隐藏异色武器",
"resetConfirmation": "您确定要重置强度榜吗?这将移除所有项目并恢复默认分级。",
"allowDuplicates": "允许项目重复",
"noDuplicates": "",
"showTierHeaders": "显示分级标题",
"titlePlaceholder": "点击添加标题...",
"by": "制作者: ",