p4535992 / foundryvtt-chat-portrait

Other
2 stars 6 forks source link

[BUG] - Color of Message Background incorrect when using routePrefix #54

Open Cerender opened 2 weeks ago

Cerender commented 2 weeks ago

Module Version: v1.0.1

Before open any issue

1) Enable the module setting "Enable debugging" 2) Click F12 go to the console tab 3) make the test you want and replicate the error 4) Go to the tab console open on point 2) and just right click and click 'Save as' and 'Save' or send a screenshot of the exception on the console. 5) Attach the text file on the github issue with all the logs related tot he module, or send a screenshot of the messages on the console.

Describe the bug When using "routePrefix" in dat/Config/options.json selecting "Change Color of Message Background" cause the chat to render the full colot instead of a lighter version.

To Reproduce Steps to reproduce the behavior: 1.Edit options.json "routePrefix": "vtt"

  1. Restart server
  2. goto serverUrl/vtt
  3. See error in chat messages

Expected behavior Chat backgrounds should be a lighter version of player color instead of the full color

Screenshots If applicable, add screenshots to help explain your problem.

Browser:

Foundry Version: 12.331

Game System: Dungeon Crawl Classics but also reproduced in D&D

Additional context Reporduced with only this module installed. without_routePrefix with_routePrefix Chat-portrait1726438512227.log