-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Animation Player Track Editor not zoomable with Trackpad #38237
Comments
I checked with my regular laptop touchpad and zooming works fine. Can you test in other areas, e.g. 2D editor? |
@KoBeWi It works in the 2D editor. Are you using a Mac trackpad? |
@KoBeWi I should clarify, the gesture to zoom in the 2D editor is different, it's the "pinch and zoom" thing. 2 fingers scrolling in the 2D editor does pan, which is expected. |
I presume this is yet another issue related to high-precision scrolling on macOS. |
Is there any implementation before that using high precision scrolling, I can take a look to give a shot on this one |
I can confirm that. I can't even pan in the bezier editor with my trackpad. It happens both on the internal MacBook trackpad and the magic trackpad. When I use an external trackball (or mouse, I guess), it works. In the animation editor itself, only vertical scrolling is possible. |
Same problem here on a MacBook Pro trackpad. None of the following work in the Bezier curve editor:
Note that all of the above work fine in the text editor (for vertical panning, horizontal panning, and font-size adjustment, respectively). External mouse wheel does work in the Bezier editor (achieves vertical zoom when used on its own, and horizontal zoom when used with the Command key). I haven't figured out a direct way to vertically pan using either the mouse or the trackpad, but because the zoom operations are centred about the mouse cursor, I'm able to indirectly pan by focusing the cursor at the right spots while I zoom in and out with the mouse wheel. Cumbersome, but works if one has a mouse with them. |
Has there been any fix yet for zooming in the bezier editor for MacBook trackpads? |
Not yet.
Maybe, but this needs to be requested in the Godot proposals repository instead of here 🙂 That said, I think it would be better to have keyboard shortcuts for zooming instead of menu options. |
Any progress on this? I would be willing to help out if someone can point me in the right direction. Thanks! |
Nobody has started working on this feature, but keep in mind touchpad gestures are only implemented on macOS: #13139 Therefore, you won't be able to test this on other platforms. |
That's okay I primarily use Mac anyways. I have been looking for something small to start with on learning how to contribute to the engine and this might be a great start. Will look into this when I get some free time. Thanks again! |
Just a suggestion: instead of trying to fix the trackpad, it might make more sense to add a separate affordance for changing the scale here, like using a keyboard or a button or something. Not everyone can use a mouse so it's good to have keyboard alternatives for accessibility. |
This affects macs Magic Mouse too. Touch gestures would be nice but supporting scrolling would be fine. Anything really! The code editor supports scrolling with Apple’s mouse. |
Windows 10 here, mouse. The issue is still in 4.1.1. I cant zoom the vertical axis. I want to be able to see values from 0 - 10 but by default there is only 0 - 50. doing CTRL + mouse wheel will zoom horizontally, doing CTRL + ALT + mouse wheel will do the same. No vertical zoom. In older versions in tutorials people was able to zoom vertically in bezier curve editor in animation player. keyviz_2Y0DnLvFWv.mp4EDIT: Well it turns out if it aint workin, you gotta click inside the curve editor and it will work. See bellow. Very unintuitive keyviz_xo9cK8BOCa.mp4 |
|
Godot version:
3.2.1 stable
OS/device including version:
macOS 10.15.4
Magic Trackpad 2
Issue description:
Using the trackpad I am unable to zoom/scale the Animation Player Track editor for bezier curves
Steps to reproduce:
Use a trackpad and try your best to zoom the bezier track editor. With a mouse you would use the mouse wheel while hovering over the track area, yet with a track pad the scroll gesture does nothing, neither does any gesture that I can think of trying.
Minimal reproduction project:
Not project specific, it's an editor thing
The text was updated successfully, but these errors were encountered: