Skip to content

Commit

Permalink
add comment for emote size
Browse files Browse the repository at this point in the history
  • Loading branch information
zaytri committed Sep 21, 2023
1 parent 79df3dc commit fbc8c0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ var slime2Chat = {
.css('--userColor', userColor)
.addClass(userColorBrightness === 'dark' ? 'user-dark' : 'user-light')

// set emote size
const emoteSize = calculateEmoteSize(parts)
messageClone.find('.content').addClass(`emote-${emoteSize}`)

Expand Down

0 comments on commit fbc8c0f

Please sign in to comment.