Merge pull request #1474 from Lurkars/twemojiEmoteMenuSvelte

fix wrong font name
This commit is contained in:
Kharhamel
2021-09-20 15:54:31 +02:00
committed by GitHub
+1 -1
View File
@@ -293,7 +293,7 @@ export abstract class Character extends Container {
this.cancelPreviousEmote();
const emoteY = -45;
this.playerName.setVisible(false);
this.emote = new Text(this.scene, -10, 0, emote, { fontFamily: '"twemoji"', fontSize: "20px" });
this.emote = new Text(this.scene, -10, 0, emote, { fontFamily: '"Twemoji Mozilla"', fontSize: "20px" });
this.emote.setAlpha(0);
this.add(this.emote);
this.createStartTransition(emoteY);