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

Commit 031bc658 authored by Chris Craik's avatar Chris Craik Committed by Android Git Automerger
Browse files

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

* commit 'ea74883e54be60bad3fb6021c5842b238d535d27':
  Account for alpha in hasShadow()
parents 13357698 3d4df3b6
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: