fix label logic

This commit is contained in:
Half-Shot 2024-11-15 16:34:28 +00:00
parent bcf462aad4
commit a3f6e17b2b
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ export function ReactionPopupMenu({
<li key={reaction.name}>
<Tooltip
label={
index < ReactionsRowSize
index >= ReactionsRowSize
? reaction.name
: `${reaction.name} (${index + 1})`
}

View File

@ -73,7 +73,7 @@ export const GenericReaction: ReactionOption = {
},
};
export const ReactionsRowSize = 6;
export const ReactionsRowSize = 5;
// The first {ReactionsRowSize} reactions are always visible.
export const ReactionSet: ReactionOption[] = [