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

Commit 3d4df3b6 authored by Chris Craik's avatar Chris Craik Committed by Android Git Automerger
Browse files

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

* commit 'fe01ab10593f07ec17bdf490fcd8b57296616fa4':
  Account for alpha in hasShadow()
parents fb08ea8b 9e7c9191
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: