Tooltip explaining the player's name setting

This commit is contained in:
DrMint 2023-05-02 23:57:38 +02:00
parent b9c7c0828a
commit bf6bf2e8a8
3 changed files with 9 additions and 2 deletions

View File

@ -221,9 +221,14 @@ export const SettingsPopup = (): JSX.Element => {
</div>
<div>
<div className="flex place-content-center place-items-center gap-1">
<h3 className="text-xl">{format("player_name")}</h3>
<ToolTip content={format("player_name_tooltip")} placement="top">
<Ico icon="info" />
</ToolTip>
</div>
<TextInput
placeholder="<player>"
placeholder="(player)"
className="w-48"
value={playerName}
onChange={(newName) => {

View File

@ -183,4 +183,5 @@ export interface ICUParams {
weapons_description: never;
level_x: { x: Date | boolean | number | string };
story_x: { x: Date | boolean | number | string };
player_name_tooltip: never;
}

View File

@ -190,6 +190,7 @@ query localDataGetWebsiteInterfaces {
weapons_description
level_x
story_x
player_name_tooltip
}
}
}