fix emoji

This commit is contained in:
_Bastler 2022-05-12 09:29:18 +02:00
parent 895499a9bc
commit d12f89dfb5
3 changed files with 3 additions and 6 deletions

View File

@ -16,9 +16,6 @@
rootElement: emojiContainer,
styleProperties: {
"--font": "Press Start 2P",
"--text-color": "whitesmoke",
"--secondary-text-color": "whitesmoke",
"--category-button-color": "whitesmoke",
},
emojisPerRow: isMediaBreakpointUp("md") ? 6 : 8,
autoFocusSearch: false,

View File

@ -912,8 +912,8 @@ export class GameScene extends DirtyScene {
this.emoteUnsubscriber = emoteStore.subscribe((emote) => {
if (emote) {
this.CurrentPlayer?.playEmote(emote.url);
this.connection?.emitEmoteEvent(emote.url);
this.CurrentPlayer?.playEmote(emote.unicode);
this.connection?.emitEmoteEvent(emote.unicode);
emoteStore.set(null);
}
});

View File

@ -912,7 +912,7 @@ div.action.danger p.action-body{
supported by Chrome, Edge, Opera and Firefox */
}
.emoji-picker__emojis {
.emoji-picker__emoji {
font-family: 'Twemoji Mozilla' !important;
}