mclemente / fvtt-module-polyglot

Talk to others using a language you can speak and scrambles text you can't understand.
MIT License
41 stars 48 forks source link

Scrambled chat bubbles truncated #269

Closed Djahal closed 2 years ago

Djahal commented 2 years ago

Describe the bug When executing this macro from the wiki :

ChatMessage.create({
    speaker:game.user,
    content : "Hello Hello",
    type: CONST.CHAT_MESSAGE_TYPES.IC,
    lang: "dwarvish"
},
{chatBubble : false} //optional
)

The chat bubble above the token hud doesn't scale properly.

To Reproduce Steps to reproduce the behavior:

  1. Execute the macro.
  2. See the chat bubble keeping the same size as if it wasn't scrambled.

Expected behavior

I don't know if it's intended, but iirc in V9 we could see the entire message inside the bubble.

Screenshots

Chat Message : image

Bubble : image

Unscrambled message : image

Chat message with translation : image

Additional context Foundry 10.288