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

[web] Fix Path hit test code for high dpi devices#17608

Merged
ferhatb merged 4 commits intoflutter:masterfrom
ferhatb:fab_circle
Apr 10, 2020
Merged

[web] Fix Path hit test code for high dpi devices#17608
ferhatb merged 4 commits intoflutter:masterfrom
ferhatb:fab_circle

Conversation

@ferhatb
Copy link
Contributor

@ferhatb ferhatb commented Apr 9, 2020

RawRecorder takes logical coordinates not physical, it internally will convert logical to physical. It was allocating wrong size BitmapCanvas and cause isPointInPath failure on iOS mobile.

Related issue: flutter/flutter#53849

@ferhatb ferhatb requested a review from ditman April 9, 2020 18:37
Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tricky, tricky! Thanks for fixing!

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