mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
Add the missing parantheses (#67446)
Fixes https://github.com/flutter/flutter/issues/67343
This commit is contained in:
parent
e1e12fa658
commit
587dd00619
|
@ -205,7 +205,7 @@ class RenderAndroidView extends RenderBox with _PlatformViewGestureMixin {
|
|||
|
||||
// Clip the texture if it's going to paint out of the bounds of the renter box
|
||||
// (see comment in _paintTexture for an explanation of when this happens).
|
||||
if (size.width < _currentAndroidViewSize.width || size.height < _currentAndroidViewSize.height && clipBehavior != Clip.none) {
|
||||
if ((size.width < _currentAndroidViewSize.width || size.height < _currentAndroidViewSize.height) && clipBehavior != Clip.none) {
|
||||
context.pushClipRect(true, offset, offset & size, _paintTexture, clipBehavior: clipBehavior);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue