material-maker icon indicating copy to clipboard operation
material-maker copied to clipboard

Better Navigation Shortcuts

Open Takanu opened this issue 4 years ago • 7 comments

It's self-explanatory, there's a few basic shortcuts that would be really nice to have when navigating the graph that don't exist, or that would help.

Dedicated Zoom Shortcuts

Holding control while using the scroll wheel also pans the screen and there's no keybinds for zooming as far as ive been able to find.

  • Stop the screen from panning when holding Control so it can be used to quickly zoom.
  • Add a key shortcut like Ctrl and -/+ to zoom in and out

Shortcut Key for Panning (that isn't spacebar maybe)

While im mainly motivated by the fact that the mouse I have has a temperamental middle button, it'd be nice like in Blender if you have more than one way to pan the screen. While you can using the Spacebar, you have to be careful not to hit the dropdown menu that appears or else you'll randomly add a node to the canvas. Given this it might be better to use another hotkey combo for this function so it always executes without mistakes.

Takanu avatar Sep 29 '20 20:09 Takanu

Shortcut Key for Panning (that isn't spacebar maybe)

What about allowing the use of the right mouse button for panning (in addition to the middle mouse button)? This is how Godot handles panning in 2D. It improves the experience a lot on trackpads.

Calinou avatar Sep 29 '20 20:09 Calinou

Sounds good 👍

Takanu avatar Sep 29 '20 21:09 Takanu

@Takanu Nevermind, right-clicking is already used to create new nodes. We could use something like Shift + Right click, but it's not as convenient.

Calinou avatar Sep 29 '20 21:09 Calinou

@Takanu @Calinou RMB: I can make it an option, now we have a Preferences dialog.

RodZill4 avatar Sep 30 '20 04:09 RodZill4

I was wondering if this was a Mac only issue. But I also have issues with zooming . its very odd and confusing behaviour. hold middle mouse panning works perfectly. hold shift and scroll mouse wheel pans the view. Hold ctrl and scroll mouse wheel scrolls. shouldn't just scrolling the mouse wheel just zoom? I am using osx version 0.96

Edit: actually the scrolling starts once the max zoom level is reached.

masseymo avatar Oct 07 '21 14:10 masseymo

@masseymo Wheel should zoom. It works under Windows at least. Unfortunately, I cannot test/debug under MacOS... :(

RodZill4 avatar Oct 07 '21 17:10 RodZill4

I can't currently try under windows so I'm not sure if the behaviour is different. Just to be completely clear: The view does zoom with mouse wheel. its just that when it reaches max zoom (in or out) it starts to scroll instead. If there was an option to disable mouse wheel scrolling that would solve the issue. I can pan around with middle mouse held so I would never use the scroll wheel for this anyway.

masseymo avatar Oct 08 '21 14:10 masseymo