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

fix(macos/input): incorrect mouse input for non-main display #2461

Merged
merged 25 commits into from
May 2, 2024

use std::clamp instead of if statement.

4d89d73
Select commit
Loading
Failed to load commit list.
Merged

fix(macos/input): incorrect mouse input for non-main display #2461

use std::clamp instead of if statement.
4d89d73
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded May 2, 2024 in 0s

18.18% of diff hit (target 6.17%)

View this Pull Request on Codecov

18.18% of diff hit (target 6.17%)

Annotations

Check warning on line 332 in src/platform/macos/input.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/macos/input.cpp#L332

Added line #L332 was not covered by tests

Check warning on line 336 in src/platform/macos/input.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/macos/input.cpp#L335-L336

Added lines #L335 - L336 were not covered by tests

Check warning on line 381 in src/platform/macos/input.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/macos/input.cpp#L379-L381

Added lines #L379 - L381 were not covered by tests

Check warning on line 384 in src/platform/macos/input.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/macos/input.cpp#L384

Added line #L384 was not covered by tests

Check warning on line 387 in src/platform/macos/input.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/macos/input.cpp#L386-L387

Added lines #L386 - L387 were not covered by tests