-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Improve editor panning and remove RMB panning #53471
The head ref may contain hidden characters: "\u{1F95E}"
Conversation
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.
I am in favor of this PR. I think having the right click available in the editor should allow several interesting thing, such as popping a context menu or do specific actions with some editors.
We need to pay attention to whether or not we have any complain about that though, I would not be surprised if it would annoy some users.
I am not favour of removing the RMB because it's difficult for me to pan around in the the 2D editor without it. |
@sairam4123 And what about Space panning? You can change it to any other key if preferred, there's also a setting called "Simple Panning" which allows to use this shortcut without LMB (like in GIMP for example). |
That's pretty good then. LMB panning would really help. |
Totally agree with him : this features (right click -> menu) is totally missing. For example, it would be so usefull to right-click in the editor, then create a new node or instance a new scene at the mouse cursor's coordinates. |
Thanks! |
This PR does a couple of things:
_update_cursor()
will automatically refresh the cursor shape if it's different from previous one (also fixes a regression from Request immediate refresh of cursor in 2D editor while using shortcuts #37336 where cursor would change even if not over 2D viewport)