mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 05:51:42 +00:00
capi: expose layer item name for utiliziing by demand.
This commit is contained in:
parent
582e05af30
commit
3f404a0218
@ -226,6 +226,7 @@ typedef struct LOTLayerNode {
|
||||
LOTMatteType mMatte;
|
||||
int mVisible;
|
||||
int mAlpha;
|
||||
const char *name;
|
||||
|
||||
} LOTLayerNode;
|
||||
|
||||
|
||||
@ -237,6 +237,7 @@ void LOTLayerItem::buildLayerNode()
|
||||
mLayerCNode->mClipPath.elmPtr = nullptr;
|
||||
mLayerCNode->mClipPath.ptCount = 0;
|
||||
mLayerCNode->mClipPath.elmCount = 0;
|
||||
mLayerCNode->name = name().c_str();
|
||||
}
|
||||
if (complexContent())
|
||||
mLayerCNode->mAlpha = combinedAlpha() * 255;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user