-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
Feature request: Better Shortcut for Panning Across the Canvas #3191
Comments
@rodolforg ive started working on this feature. Ive noticed that the events on workarea are being handled separately for mouse inputs and keyboard inputs. For the key input the event passed is gdkEvenKey and for mouse its gdkEvent. gdkEvent is a superset of the eventkey but still im unable to access the keyval through this event. I wish to implement it in this function and not in the key_pressed because ill need mouse_pos and that isnt being passed in gdkEventKey This prints keywaspressed but cant really which one. Also could you please explain what this line does, I see this "smach" function alot. |
Currently
You could:
|
Comparing Synfig with blender wouldn't be fair. All 2d animation software uses spacebar to pan across the canvas, like opentoonz/pencil2d/tahoma2d/krita. Using |
I didn't say we should mimic Blender. I just said it is the same of Blender (and I'm used to it). I didn't even set What should be the new shortcut for it? |
For "play", i think one of the function keys, e.g. F10 would be appropriate. |
How about to simulate After Effects behavior? ae-spacebar-behavior.mp4 |
@ice0 In Synfig most of the Function keys are unused. I've tried setting F10 for play/pause and to be honest I find it pretty handy. |
This is a good way to implement things. Also ill modify panning behavior right now pressing the space key is enough, instead it should pan the canvas when space is held down and left click is used to drag. |
|
When u arent focused on the workarea you need to click on it again to begin panning this ensures that you dont need to focus first, clicking instantly drags the window. |
@Afterdie But then if I'm zoomed in into an artwork, I'll have to click multiple times to move across the canvas. |
good point lets stick to the first approach 👍 |
The current setting for moving around the canvas is to use the middle mouse button. However, a more common and user-friendly option in many graphics applications is to press the spacebar and drag the mouse. I think this would be a better choice for Synfig.
The text was updated successfully, but these errors were encountered: