-
Notifications
You must be signed in to change notification settings - Fork 75
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
[Bug]: Unexpected Behavior From Pixel Ratio #249
Comments
Thank you for reporting this issue. I identified a problem with FYI: When I’m not sure of your exact use case, but in most cases, I recommend not setting a |
Thank you for the really helpful explanation. We aren't using customPixelRatio anymore, as our use case doesn't make sense for using it as you pointed out. With the fix released in 6.0.1, our problem should be resolved in regards to not cropping the image to the size of the content. I was surprised that setting the pixel ratio to 4.5, 5, or 7 had fixed the cropping, but I see that was because outsideCaptureAreaLayerOpacity being above 0 caused the editor to capture the incorrect drawing bounds. Thank you for your help! |
Package Version
5.4.2
Flutter Version
3.24.2
Platforms
Android, iOS, Web, macOS
How to reproduce?
I would expect the pixel ratio to not affect whether the area around the content gets cropped or not, but I cannot figure out why its doing this. The only difference in code between pixel ratio 8 and 8.5 is the pixel ratio, yet the cropping changes.
Logs (optional)
No response
Example code (optional)
Device Model (optional)
No response
The text was updated successfully, but these errors were encountered: