Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
There's no way to dolly the camera other than mouse scroll wheel
What is the new behavior?
There's camera control methods to dolly in and out
Does this PR introduce a breaking change?
Other information
The mouse scroll wheel dolly's the camera towards the mouse position. Doing this in combination with zoom can leave the graph in a weird state because dolly has min and max values while zoom does not (e.g. zoom very far in, then you can only dolly back out with the scroll wheel a limited amount. It's not clear these are 2 different methods)
This adds dolly methods to the camera controls that are more comfortable to use in combination with the mouse scroll wheel
Screen.Recording.2024-05-29.at.2.53.31.PM.mov