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

Two-finger scroll on Mac in Preview3D doesn't zoom in/out #762

Open
dgholz opened this issue Mar 1, 2025 · 2 comments
Open

Two-finger scroll on Mac in Preview3D doesn't zoom in/out #762

dgholz opened this issue Mar 1, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@dgholz
Copy link

dgholz commented Mar 1, 2025

Material Maker version:
1.4a3, from bc702ff

OS/device including version:
MacBook Air M1, MacOS Sonoma 15.3.1

Issue description:

Two-finger scrolling in Preview3D seems to act like a faster, choppier left-click drag, and doesn't change the zoom level.

Steps to reproduce:

Scroll with two fingers in the Preview3D window.

Image
Here I've captured a left-mouse button click and drag, a right-mouse button click and drag, and then two-finger scrolling vertically & horizontally.

@dgholz dgholz added the bug Something isn't working label Mar 1, 2025
@dgholz dgholz changed the title two-finger scroll on Mac in Preview3D doesn't zoom in/out Two-finger scroll on Mac in Preview3D doesn't zoom in/out Mar 1, 2025
@dgholz
Copy link
Author

dgholz commented Mar 1, 2025

I use the two-finger gesture because usually it scrolls (pans) in other apps, and I'd expect it to scroll (zoom) here. Especially as there's no keyboard shortcuts or UI gizmo for zoom in the Preview3D panel.

@Calinou
Copy link
Contributor

Calinou commented Mar 1, 2025

It should be possible to implement support for InputEventGesturePan and InputEventGestureMagnify, but it'll only work on macOS due to limited platform support for these events.

See godotengine/godot#94904 for an example of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants