Twemoji Emote Menu
This commit is contained in:
parent
4c8ee41cf2
commit
c264364752
8 changed files with 105 additions and 74 deletions
|
@ -1202,7 +1202,8 @@ ${escapedMessage}
|
|||
if (pointer.wasTouch && (pointer.event as TouchEvent).touches.length > 1) {
|
||||
return; //we don't want the menu to open when pinching on a touch screen.
|
||||
}
|
||||
this.emoteManager.getMenuImages().then((emoteMenuElements) => this.CurrentPlayer.openOrCloseEmoteMenu(emoteMenuElements))
|
||||
|
||||
this.CurrentPlayer.openOrCloseEmoteMenu( this.emoteManager.getEmotes());
|
||||
})
|
||||
this.CurrentPlayer.on(requestEmoteEventName, (emoteKey: string) => {
|
||||
this.connection?.emitEmoteEvent(emoteKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue