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