mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Profiles - Made timeline thread safe and slightly tweaked delta logic
This commit is contained in:
1 parent
ad5c83e5b3
commit
f179980ac4
4 files changed
+77
-46
No files matched your search
@@ -144,7 +144,7 @@ namespace Artemis.Core
|
||||
throw new ObjectDisposedException("DataBinding");
|
||||
|
||||
// Data bindings cannot go back in time like brushes
|
||||
TimeSpan deltaTime = timeline.LastDelta;
|
||||
TimeSpan deltaTime = timeline.Delta;
|
||||
if (deltaTime < TimeSpan.Zero)
|
||||
deltaTime = TimeSpan.Zero;
|
||||
|
||||
|
||||
Reference in new issue
Block a user