feat: add possibility to zoom the course workflow
Description
I worked on the possibility to zoom the course workflow in the Course Window. First, I thought about manually scaling each single object. Since this needs a lot of rework in every rendering component, a global scaling value, and more work in future GUI components, I decided to find another solution.
Then I thought about GUI scaling. So I found a solution using the GUI.matrix.

It works pretty well but there are still to problems I did not find a proper solution yet:
-
The scrollbars do move when zooming. Tried to create manual ones but I did something wrong so it did not work out, unfortunately.

-
When zoomed the context menus are positioned wrongly. It uses
Event.current.mousePosition. I tried to overwrite it but it did not work out.
I hope you can do something with this draft PR. 👍
Manual
Panning with middle mouse button.
Zooming with CTRL + Mouse Wheel.
Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update