mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Data bindings - Finished main functionality
This commit is contained in:
1 parent
d49b574bda
commit
e7c3fbe675
23 files changed
+214
-135
No files matched your search
@@ -206,8 +206,8 @@ namespace Artemis.Core
|
||||
foreach (var dataBindingModifier in Modifiers)
|
||||
dataBindingValue = dataBindingModifier.Apply(dataBindingValue);
|
||||
|
||||
var value = (TProperty) Convert.ChangeType(dataBindingValue, typeof(TProperty));
|
||||
|
||||
TProperty value = Converter.ConvertFromObject(dataBindingValue);
|
||||
|
||||
// If no easing is to be applied simple return whatever the current value is
|
||||
if (EasingTime == TimeSpan.Zero || !Converter.SupportsInterpolate)
|
||||
return value;
|
||||
|
||||
Reference in new issue
Block a user