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

Commit 9e7c9191 authored by Chris Craik's avatar Chris Craik Committed by Android (Google) Code Review
Browse files

Merge "Account for alpha in hasShadow()" into lmp-dev

parents cf456e3c 9fa364dc
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -570,7 +570,9 @@ public:
    }
    }


    bool hasShadow() const {
    bool hasShadow() const {
        return getZ() >= 0.0f && getOutline().getPath() != NULL;
        return getZ() >= 0.0f
                && getOutline().getPath() != NULL
                && getOutline().getAlpha() != 0.0f;
    }
    }


private:
private: