Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Use the right constant for macOS event timestamps#17713

Merged
stuartmorgan-g merged 1 commit intoflutter:masterfrom
stuartmorgan-g:macos-event-timestamp-fix
Apr 15, 2020
Merged

Use the right constant for macOS event timestamps#17713
stuartmorgan-g merged 1 commit intoflutter:masterfrom
stuartmorgan-g:macos-event-timestamp-fix

Conversation

@stuartmorgan-g
Copy link
Contributor

The NSEvent->Flutter event conversion code for pointer events was
multiplying seconds by nanoseconds per milliseconds. While this does end
up giving the right number of microseconds, it's a very confusing way to
write it.

The NSEvent->Flutter event conversion code for pointer events was
multiplying seconds by nanoseconds per milliseconds. While this does end
up giving the right number of microseconds, it's a very confusing way to
write it.
@auto-assign auto-assign bot requested a review from flar April 14, 2020 22:05
@flar flar removed their request for review April 14, 2020 23:10
@stuartmorgan-g stuartmorgan-g merged commit 2fe7358 into flutter:master Apr 15, 2020
@stuartmorgan-g stuartmorgan-g deleted the macos-event-timestamp-fix branch April 15, 2020 21:33
goderbauer pushed a commit to goderbauer/engine that referenced this pull request Apr 16, 2020
The NSEvent->Flutter event conversion code for pointer events was
multiplying seconds by nanoseconds per milliseconds. While this does end
up giving the right number of microseconds, it's a very confusing way to
write it.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments