Unverified Commit 587dd006 authored by Yuqian Li's avatar Yuqian Li Committed by GitHub

Add the missing parantheses (#67446)

Fixes https://github.com/flutter/flutter/issues/67343
parent e1e12fa6
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment