Skip to content

(Samples app) Preserve world position of mouse cursor after scroll zoom - #1021

Closed
iforce2d wants to merge 1 commit into
erincatto:mainfrom
iforce2d:main
Closed

(Samples app) Preserve world position of mouse cursor after scroll zoom#1021
iforce2d wants to merge 1 commit into
erincatto:mainfrom
iforce2d:main

Conversation

@iforce2d

Copy link
Copy Markdown

After scroll zoom, reposition camera so that world location under mouse cursor remains unchanged (a la Google maps and many other graphical editors) to allow zoom and pan in one action.

erincatto added a commit that referenced this pull request May 9, 2026
@erincatto erincatto mentioned this pull request May 9, 2026
erincatto added a commit that referenced this pull request May 10, 2026
Added api/box2d_api.json
Cleaned up build scripts
Fixed mingw build and added action
Added clang-cl build
Samples app improvements
#1001
#1048
#1021
@erincatto

Copy link
Copy Markdown
Owner

Nice idea! Implemented in #1052

@erincatto erincatto closed this May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants