-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple viewers in different sizes trigger resize on all viewer #7
Comments
Having multiple graphics views to compare plots sounds very exciting. |
I have just pushed an changes that make the API stateless. Multiple clients can have different resolutions and show different plots of the history. The server now figures out by itself if it needs to redraw. This also made the API a lot simpler. (Websockets are not in yet, but will follow soon.) Edit: Just fixed a race condition. Writing multithreaded code is hard. |
Thanks for the nice work! With the latest commit, the multi viewer works quite well! |
If the web page is open on multiple places (e.g. one in web browser, the other in VSCode WebView), the resize of one viewer might cause all viewers to resize, or sometimes the viewer falls into resizing to different sizes endlessly.
I'm curious if there's a good way to handle multiple viewer while apparently the R session could only replay the plot (I'm not 100% sure if the resizing is implemented by replay?) for one certain size.
The text was updated successfully, but these errors were encountered: