sPOiDar / fvtt-module-stream-view

FoundryVTT module that provides a minimal UI view with automated camera work, ideal for streaming or recording games.
MIT License
11 stars 11 forks source link

[feat] Add a macro to toggle show/hide the chat window #80

Open TheSabotender opened 6 months ago

TheSabotender commented 6 months ago

Sometimes I would like to hide the chat window on the stream view, for a clear screen.

This could easily work similar to the camera macro (manual, disabled, auto)

Possible states for the chat should be: Visible, Hidden and CombatOnly

TheSabotender commented 6 months ago

found a workaround, make a macro on your hotbar with this Script:

let chat = document.getElementById('chat-popout'); if(chat != null){ if(chat.style.display == "none") { chat.style.display = ""; } else { chat.style.display = "none"; } }

I would still prefer an offical macro that triggers StreamViewStream.createPopout and StreamViewStream.closePopout though