fix emoji
This commit is contained in:
parent
895499a9bc
commit
d12f89dfb5
@ -16,9 +16,6 @@
|
|||||||
rootElement: emojiContainer,
|
rootElement: emojiContainer,
|
||||||
styleProperties: {
|
styleProperties: {
|
||||||
"--font": "Press Start 2P",
|
"--font": "Press Start 2P",
|
||||||
"--text-color": "whitesmoke",
|
|
||||||
"--secondary-text-color": "whitesmoke",
|
|
||||||
"--category-button-color": "whitesmoke",
|
|
||||||
},
|
},
|
||||||
emojisPerRow: isMediaBreakpointUp("md") ? 6 : 8,
|
emojisPerRow: isMediaBreakpointUp("md") ? 6 : 8,
|
||||||
autoFocusSearch: false,
|
autoFocusSearch: false,
|
||||||
|
@ -912,8 +912,8 @@ export class GameScene extends DirtyScene {
|
|||||||
|
|
||||||
this.emoteUnsubscriber = emoteStore.subscribe((emote) => {
|
this.emoteUnsubscriber = emoteStore.subscribe((emote) => {
|
||||||
if (emote) {
|
if (emote) {
|
||||||
this.CurrentPlayer?.playEmote(emote.url);
|
this.CurrentPlayer?.playEmote(emote.unicode);
|
||||||
this.connection?.emitEmoteEvent(emote.url);
|
this.connection?.emitEmoteEvent(emote.unicode);
|
||||||
emoteStore.set(null);
|
emoteStore.set(null);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -912,7 +912,7 @@ div.action.danger p.action-body{
|
|||||||
supported by Chrome, Edge, Opera and Firefox */
|
supported by Chrome, Edge, Opera and Firefox */
|
||||||
}
|
}
|
||||||
|
|
||||||
.emoji-picker__emojis {
|
.emoji-picker__emoji {
|
||||||
font-family: 'Twemoji Mozilla' !important;
|
font-family: 'Twemoji Mozilla' !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user