Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 748a163b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix small child layer transparent region error"

parents 2ada48e9 de9ec449
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -427,7 +427,9 @@ Rect Layer::computeBounds(const Region& activeTransparentRegion) const {
    Rect bounds = win;
    const auto& p = getParent();
    if (p != nullptr) {
        bounds = p->computeScreenBounds();
        // Look in computeScreenBounds recursive call for explanation of
        // why we pass false here.
        bounds = p->computeScreenBounds(false /* reduceTransparentRegion */);
    }

    Transform t = getTransform();