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

Commit 9fa364dc authored by Chris Craik's avatar Chris Craik
Browse files

Account for alpha in hasShadow()

bug:17587220
Change-Id: Ic7f2dea95302b713dc93edb4a0193a7be77fb2eb
parent 8f8f5f57
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -570,7 +570,9 @@ public:
    }

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

private: