File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,12 +122,12 @@ internal void RaiseNativeSizeChanged()
122
122
var translucentInsets = insets . Minus ( opaqueInsets ) ;
123
123
124
124
// The 'metric.Bounds' does not include any insets, so we remove the "opaque" insets under which we cannot draw anything
125
- var windowBounds = new Rect ( default , ( ( Rect ) metrics . Bounds ) . DeflateBy ( opaqueInsets ) . Size ) . PhysicalToLogicalPixels ( ) ;
125
+ var windowBounds = new Rect ( default , ( ( Rect ) metrics . Bounds ) . DeflateBy ( opaqueInsets ) . Size ) ;
126
126
127
127
// The visible bounds is the windows bounds on which we remove also translucentInsets
128
- var visibleBounds = windowBounds . DeflateBy ( translucentInsets ) . PhysicalToLogicalPixels ( ) ;
128
+ var visibleBounds = windowBounds . DeflateBy ( translucentInsets ) ;
129
129
130
- return ( windowBounds , visibleBounds , visibleBounds ) ;
130
+ return ( windowBounds . PhysicalToLogicalPixels ( ) , visibleBounds . PhysicalToLogicalPixels ( ) , visibleBounds . PhysicalToLogicalPixels ( ) ) ;
131
131
}
132
132
#endif
133
133
You can’t perform that action at this time.
0 commit comments