mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
QtLottie: Apply even inactive parent transforms.
This commit is contained in:
2
Telegram/ThirdParty/qtlottie
vendored
2
Telegram/ThirdParty/qtlottie
vendored
Submodule Telegram/ThirdParty/qtlottie updated: 9162dace08...5630703850
@@ -56,8 +56,6 @@ public:
|
||||
explicit BMLayer (const BMLayer &other);
|
||||
~BMLayer() override;
|
||||
|
||||
BMBase *clone() const override;
|
||||
|
||||
static BMLayer *construct(QJsonObject definition);
|
||||
|
||||
bool active(int frame) const override;
|
||||
@@ -97,6 +95,8 @@ protected:
|
||||
int m_td = 0;
|
||||
MatteClipMode m_clipMode = NoClip;
|
||||
|
||||
bool m_updated = false;
|
||||
|
||||
private:
|
||||
void parseEffects(const QJsonArray &definition, BMBase *effectRoot = nullptr);
|
||||
|
||||
|
@@ -52,7 +52,7 @@ class BMShape;
|
||||
class BMTrimPath;
|
||||
class BMBasicTransform;
|
||||
|
||||
class BODYMOVIN_EXPORT BMNullLayer : public BMLayer
|
||||
class BODYMOVIN_EXPORT BMNullLayer final : public BMLayer
|
||||
{
|
||||
public:
|
||||
BMNullLayer() = default;
|
||||
@@ -62,7 +62,6 @@ public:
|
||||
|
||||
BMBase *clone() const override;
|
||||
|
||||
void updateProperties(int frame) override;
|
||||
void render(LottieRenderer &render, int frame) const override;
|
||||
|
||||
};
|
||||
|
@@ -52,7 +52,7 @@ class BMShape;
|
||||
class BMTrimPath;
|
||||
class BMBasicTransform;
|
||||
|
||||
class BODYMOVIN_EXPORT BMPreCompLayer : public BMLayer
|
||||
class BODYMOVIN_EXPORT BMPreCompLayer final : public BMLayer
|
||||
{
|
||||
public:
|
||||
BMPreCompLayer() = default;
|
||||
|
@@ -52,7 +52,7 @@ class BMShape;
|
||||
class BMTrimPath;
|
||||
class BMBasicTransform;
|
||||
|
||||
class BODYMOVIN_EXPORT BMShapeLayer : public BMLayer
|
||||
class BODYMOVIN_EXPORT BMShapeLayer final : public BMLayer
|
||||
{
|
||||
public:
|
||||
BMShapeLayer() = default;
|
||||
|
Reference in New Issue
Block a user