Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a4b8379

Browse files
brianosmanSkia Commit-Bot
authored andcommitted
Revert "Active layer excludes outPoint"
This reverts commit 87224bb. Reason for revert: Speculative revert for Google 3 roll Original change's description: > Active layer excludes outPoint > > Exported AE layers outPoint is exclusive > > Change-Id: Ie53954ef8df3938e13f2241b649429775553aa59 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/215432 > Commit-Queue: Florin Malita <[email protected]> > Reviewed-by: Florin Malita <[email protected]> [email protected],[email protected] Change-Id: I17f6a66f3165983b8c082e9324b042d75818d987 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/skia/+/215781 Reviewed-by: Brian Osman <[email protected]> Commit-Queue: Brian Osman <[email protected]>
1 parent 95a6f95 commit a4b8379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/skottie/src/SkottieLayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ sk_sp<sksg::RenderNode> AnimationBuilder::attachLayer(const skjson::ObjectValue*
653653
, fOut(out) {}
654654

655655
void onTick(float t) override {
656-
const auto active = (t >= fIn && t < fOut);
656+
const auto active = (t >= fIn && t <= fOut);
657657

658658
// Keep the layer fully transparent except for its [in..out] lifespan.
659659
// (note: opacity == 0 disables rendering, while opacity == 1 is a noop)

0 commit comments

Comments
 (0)