Updating scripts

This commit is contained in:
Vladislav Khorev committed 2026-05-18 15:21:42 +03:00
1 parent 21bf3f0710
commit 27b4b19df4
13 files changed
+903 -127

No files matched your search

+4 -1
View File
@@ -107,7 +107,10 @@ namespace ZL {
// Snap to exact target
position = task.targetPos;
rotationY = task.targetRotY;
scale = task.targetScale;
if (task.type == AnimTask::Type::Fade)
alpha = task.targetScale; // targetScale reused to hold targetAlpha for Fade
else
scale = task.targetScale;
std::function<void()> cb = std::move(task.onComplete);
animTask.reset();