mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-25 12:35:18 -05:00
Tier list maker make "No duplicates" the default
This commit is contained in:
@@ -70,7 +70,6 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
.targetZoneSelectable:hover {
|
||||
background-color: var(--color-bg-higher);
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ export function useTierList() {
|
||||
|
||||
const [canAddDuplicates, setCanAddDuplicates] = useSearchParamState({
|
||||
name: "canAddDuplicates",
|
||||
defaultValue: true,
|
||||
defaultValue: false,
|
||||
revive: (value) => value === "true",
|
||||
});
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "",
|
||||
"hideAltSkins": "",
|
||||
"resetConfirmation": "",
|
||||
"allowDuplicates": "",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "",
|
||||
"titlePlaceholder": "",
|
||||
"by": "",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"hideAltKits": "隐藏贴牌武器",
|
||||
"hideAltSkins": "隐藏异色武器",
|
||||
"resetConfirmation": "您确定要重置强度榜吗?这将移除所有项目并恢复默认分级。",
|
||||
"allowDuplicates": "允许项目重复",
|
||||
"noDuplicates": "",
|
||||
"showTierHeaders": "显示分级标题",
|
||||
"titlePlaceholder": "点击添加标题...",
|
||||
"by": "制作者: ",
|
||||
|
||||
Reference in New Issue
Block a user