-
Notifications
You must be signed in to change notification settings - Fork 26
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
Allow user-customizable viewport arrangements #2570
Conversation
…2295) Move buckets for XY plane on each frame to GPU and render it (status: pixel-perfect for arbitrary xyz and zoomstep).
…er segmentation layer (almost correct)
…ty data to data texture and refresh lookup texture in requestAnimationFrame loop when necessary
…using higher zoom steps
…ing into 512 texture; pass texel coordinates into fragment shader
… set of rendering issues
… when downsampling segmentation; tweak perf of array sorting by using Bose-Nelson network
… loaded; clean up some code and add comments
No, I didn't run into any problems here :) |
…ies; also fix various bugs and clean up
@hotzenklotz I completely removed the k/l scaling. The viewport scaling is solely dependent on the available size in a pane (the viewports are still quadratic, though). Do you want to give it another try? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reverts commit 46bd8b1.
This reverts commit 5ad7dc6.
* Revert "Revert "Allow user-customizable viewport arrangements (#2570)"" This reverts commit 5ad7dc6. * Revert "Revert "fix node selection; 3d viewport rotation/zooming; fix shortcuts (#2673)"" This reverts commit c95a064. * make gl style static to avoid re-mountings * workaround weird uglifyjs bug which remounts instead of rerenders some react components * re-add snapshots * fix bug which caused hidden arbitrary view to be still rendered * pretty code * tmp: work on different default-layout(s) * Revert "tmp: work on different default-layout(s)" This reverts commit 895c673. * tmp: re-add k/l for custom viewports * pretty code * fix wrong method call * update snapshots * update snapshots * adapt custom viewports to newest master * clean up custom viewports * re-introduce k/l scale value into store; improve UX of custom viewports * fix linting * fix multiple reset and show move-cursor when hovering over tab * add default layoutScaleValue to backend * fix syntax error * update changelog * pretty code
This PR adds custom viewports to WK core. I integrated golden layout and wrote an own react adapter so that the integration is seamless. Arranging of viewports works by only rendering the input catchers into the layout, while the actual canvas is rendered across the entire screen.
Mailable description of changes:
Steps to test:
Issues: