From c617dec1c5e06afd7fb45e3a5cf091ea13166191 Mon Sep 17 00:00:00 2001 From: Jakub Grzywacz Date: Thu, 28 Nov 2024 12:44:55 +0100 Subject: [PATCH] fix: animated transform last frame (#2553) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Summary When using the Animated API for animations, it sends the last frame as JavaScript-parsed (matrix) updates in addition to native (transform) updates. ~~As a result, we need to ignore one of them.~~ I believe there's no need to differentiate between native and JavaScript updates—we can simply save both to the same value (mMatrix). By doing so, we can avoid duplicating the transforms. | Before | After | |--------|--------| |