mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-31 13:55:26 +08:00
Update AnimationControl.cpp
This commit is contained in:
@@ -17,7 +17,7 @@ namespace demo
|
|||||||
void AnimationControl::GlobalTimer()
|
void AnimationControl::GlobalTimer()
|
||||||
{
|
{
|
||||||
auto time = DateTime::LocalTime();
|
auto time = DateTime::LocalTime();
|
||||||
if (time.totalMilliseconds - members->lastUpdateTime.totalMilliseconds >= 100)
|
if (time.osMilliseconds - members->lastUpdateTime.osMilliseconds >= 100)
|
||||||
{
|
{
|
||||||
members->lastUpdateTime = time;
|
members->lastUpdateTime = time;
|
||||||
if (auto renderer = element->GetRenderer())
|
if (auto renderer = element->GetRenderer())
|
||||||
|
|||||||
Reference in New Issue
Block a user