← 输入框|github.com|刷新
Skip to content

Win32: Mouse wheel zooming always remains properly centered - #815

Merged
phkahler merged 1 commit into
solvespace:masterfrom
ruevs:FixZooming
Nov 22, 2020
Merged

phkahler merged 1 commit into
solvespace:masterfrom
ruevs:FixZooming

Conversation

@ruevs

@ruevs ruevs commented Nov 22, 2020

Copy link
Copy Markdown
Member

On scroll wheel events convert the mouse coordinates from screen to client
area so that scroll wheel zooming remains centered irrespective of the
window position.

Fixes #806

On scroll wheel events convert the mouse coordinates from screen to client
area so that scroll wheel zooming remains centered irrespective of the
window position.

Fixes solvespace#806
@phkahler
phkahler merged commit 5137da2 into solvespace:master Nov 22, 2020
@phkahler

Copy link
Copy Markdown
Member

Thanks @ruevs!

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.

Mouse-wheel zoom is affected by window position (Windows)

2 participants