Fix RenderView.paintBounds (#17126)

It should account for the device pixel ratio

https://github.com/flutter/flutter/issues/16859
This commit is contained in:
Todd Volkert 2018-04-30 13:48:42 -07:00 committed by GitHub
parent 98ec321ad6
commit 5972fdb7aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {