rio-labs/rio

Initial window size sent to the backend doesn't account for the dev tools

Opened this issue · 0 comments

When running in debug mode, the space used by the dev tools sidebar is usually subtracted from the window size that's reported to python. However, when the websocket connection is first established, the dev tools sidebar doesn't exist yet, so the initialClientMessage includes an "incorrect" window size.