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

Touch gestures (pinch/pull zoom and scroll) and scroll wheel not working in tile editor #94849

Closed
CyberSkull opened this issue Jul 27, 2024 · 3 comments · Fixed by #94904
Closed

Comments

@CyberSkull
Copy link

CyberSkull commented Jul 27, 2024

Tested versions

v4.1.4.stable.mono.official [fe0e8e5], v4.2.2.stable.mono.official [15073af], v4.3.rc1.mono.official [e343dbb], v4.3.rc2.mono.official [3978628]

System information

macOS 14.5 (23F79), M2 Max, v4.2.2.stable.mono.official [15073af]

Issue description

The editor for tile polygons does not take either scroll wheel or trackpad touch (scroll, pinch/pull zoom in/out) gestures. It will take right or middle clicks to drag, but this is very awkward to do with a trackpad.

Steps to reproduce

  1. Create a TileMap, add a TileSet, then load a sprite sheet to and make an atlas.
  2. Add any layer type, like physics for the sake of this report.
  3. Select a tile to add a polygon for the layer with the Select tool.
  4. Start editing the polygon. Try to scroll with a mouse wheel or use the trackpad scroll or zoom gestures. They do not work. It does not matter if it is the small form window or the large work area window.

Minimal reproduction project (MRP)

Touch gestures test for TileMap.zip

@Calinou
Copy link
Member

Calinou commented Jul 27, 2024

@bypie5
Copy link

bypie5 commented Jul 28, 2024

@Calinou the issue you linked seems resolved in 4.3

@bruvzg
Copy link
Member

bruvzg commented Jul 28, 2024

Trackpad gestures produce InputEventMagnifyGesture and InputEventPanGesture events, and neither seems to be handled by TileMap editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants