Unverified Commit 5972fdb7 authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Fix RenderView.paintBounds (#17126)

It should account for the device pixel ratio

https://github.com/flutter/flutter/issues/16859
parent 98ec321a
......@@ -185,7 +185,7 @@ class RenderView extends RenderObject with RenderObjectWithChildMixin<RenderBox>
}
@override
Rect get paintBounds => Offset.zero & size;
Rect get paintBounds => Offset.zero & (size * configuration.devicePixelRatio);
@override
Rect get semanticBounds {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment