Fix RenderView.paintBounds (#17126)
It should account for the device pixel ratio https://github.com/flutter/flutter/issues/16859
This commit is contained in:
parent
98ec321ad6
commit
5972fdb7aa
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user