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.
Heya,
So, these changes were mostly for my own benefit, but I thought I'd offer them incase anyone else was interested. I've never used TCL before, so the changes may be a bit hacky, but they seem to work so far as I can tell.
I've changed the controls to be more intuitive:
Everything else should behave the same as before, middle button and left+right buttons will still scroll like normal.
Bugs found:
1.
The main bug I could find with this is that I cannot for the life of me work out a way to be able to scroll with left+right, while also dragging something. If you are dragging with Left, then hold Right to scroll, the camera will snap back to where you were when you started dragging. It is not a big problem, but it can be a bit annoying for moving an object across the canvas.
2.
I only just noticed this, but the new Ctrl and Shift functions don't work properly if you're click-selecting. This is presumably because this is handled elsewhere in the code, but the issue is too small for me to care about searching for it. The work-around is just to move the mouse a little when you want to select stuff.