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