Add the missing parantheses (#67446)

Fixes https://github.com/flutter/flutter/issues/67343
This commit is contained in:
Yuqian Li
2020-10-08 12:20:30 -07:00
committed by GitHub
parent e1e12fa658
commit 587dd00619

View File

@@ -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;
}