mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-10 14:44:52 +08:00
fix(composer-emoji): Fix calculation for category positioning
This commit is contained in:
parent
d5fb58a029
commit
cf926b0346
1 changed files with 1 additions and 3 deletions
|
@ -137,11 +137,9 @@ class EmojiButtonPopover extends React.Component {
|
|||
categoryPositions[category].top = verticalPos;
|
||||
verticalPos += height;
|
||||
categoryPositions[category].bottom = verticalPos;
|
||||
if (category !== 'People') {
|
||||
verticalPos += 24;
|
||||
}
|
||||
}
|
||||
}
|
||||
return {
|
||||
categoryNames: categoryNames,
|
||||
categorizedEmoji: categorizedEmoji,
|
||||
|
|
Loading…
Add table
Reference in a new issue