You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To produce <img class="joypixels" alt="😀" title=":grinning:" src="https://cdn.jsdelivr.net/joypixels/assets/7.0/png/unicode/64/1f600.png">, since the code is documented to say we can set emojiSize: "available sizes are '32', '64', and '128'", but instead it produced <img class="joypixels" alt="😀" title=":grinning:" src="https://cdn.jsdelivr.net/joypixels/assets/7.0/png/unicode/32/1f600.png">,.
Hi there,
I would have expected this code:
To produce
<img class="joypixels" alt="😀" title=":grinning:" src="https://cdn.jsdelivr.net/joypixels/assets/7.0/png/unicode/64/1f600.png">
, since the code is documented to say we can setemojiSize
:"available sizes are '32', '64', and '128'"
, but instead it produced<img class="joypixels" alt="😀" title=":grinning:" src="https://cdn.jsdelivr.net/joypixels/assets/7.0/png/unicode/32/1f600.png">
,.emoji-toolkit/lib/php/src/Client.php
Line 16 in 7ed2733
The issue is that since the
imagePathPNG
property is set in the constructor, it is too late use theemojiSize
property on the$client
instance.emoji-toolkit/lib/php/src/Client.php
Line 36 in 7ed2733
A workaround is this, but I believe the code should act different, since it's not possible to customize it by setting the public property:
The text was updated successfully, but these errors were encountered: