Skip to content
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

Editor: "graphical scene" navigation controls shared between Room and GUI Editors #2578

Open
ivan-mogilko opened this issue Nov 14, 2024 · 5 comments
Labels
context: ui/ux type: enhancement a suggestion or necessity to have something improved what: editor related to the game editor

Comments

@ivan-mogilko
Copy link
Contributor

ivan-mogilko commented Nov 14, 2024

The proposal is to have either a parent control class, or at least a conveniently shared code for both Room Editor and GUI Editor, that supports uniform navigation around the scene area:

  • scrolling
  • panning
  • zooming

using same mouse and keyboard combination and hotkeys.

Use Room Editor as a reference, as it supports everything necessary.

Current Room Editor controls, from my memory:

  • hold Space + LMB: panning
  • hold MMB: panning
  • mouse wheel: scroll vertically
  • Shift + mouse wheel: scroll horizontally
  • Ctrl + mouse wheel: zoom into/out from mouse pos
@ivan-mogilko ivan-mogilko added type: enhancement a suggestion or necessity to have something improved what: editor related to the game editor context: ui/ux labels Nov 14, 2024
@ericoporto
Copy link
Member

ericoporto commented Nov 14, 2024

Not sure if I am doing something wrong, but the spacebar pan doesn't seem to work on my notebook, I wonder if it's keyboard just doesn't support holding the spacebar like it does holding Ctrl, Alt or other modifier keys. I googled and found a ton of people with the problem of spacebar pan not working in Photoshop. If there was a tool in the toolbar, then it could use a shortcut that activates it and later deactivates it - or at least just clicking the tool button directly. I noticed this when I wanted to try to fix the other issue about cursor glitches but I couldn't activate it.

@ivan-mogilko
Copy link
Contributor Author

To double check, are you holding only Space, or Space + LMB?

@ericoporto
Copy link
Member

Hold space, and then I left click with the mouse to drag. It works on my desktop but not on my notebook.

@ivan-mogilko
Copy link
Contributor Author

I noticed that there's a problem with panning with middle mouse button, it looks like the panning mode keeps turning off for a split second, and this causes "freezes" while moving. Idk if the Editor's problem or something is wrong with my mouse device (it's pretty old).

@ericoporto
Copy link
Member

ericoporto commented Nov 14, 2024

Uhm, I found a person on a forum that says it's an issue with Palm Protection bugging out in notebooks - it thinks I want to type stuff when it sees a spacebar being pressed. It should just block the touchpad but it's apparently blocking mouse clicks...

Trying to figure if there's a way to disable this to test. Edit: nope, can't disable, only doesn't trigger with external keyboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context: ui/ux type: enhancement a suggestion or necessity to have something improved what: editor related to the game editor
Projects
None yet
Development

No branches or pull requests

2 participants