From 37cf2f7811b0fee54fe40762acb4619af8ff406d Mon Sep 17 00:00:00 2001 From: Zorchenhimer Date: Sat, 23 Mar 2019 18:13:55 -0400 Subject: [PATCH] Fix auto-scrolling with emotes All emotes are set to have a height of 28px. This fixes the auto-scroll on message when the message has emotes, but it also forces all emotes to be 28px high. --- common/emotes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/emotes.go b/common/emotes.go index 9be8b42..f2ff30b 100644 --- a/common/emotes.go +++ b/common/emotes.go @@ -16,7 +16,7 @@ func ParseEmotesArray(words []string) []string { found := false for key, val := range Emotes { if key == word { - newWords = append(newWords, fmt.Sprintf("", val, key)) + newWords = append(newWords, fmt.Sprintf(``, val, key)) found = true } }