mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Nuget - Updated packages
Brush properties - Added default values Brush properties - Removed option to always auto-expand groups Layer properties - Remember expanded/collapsed groups Storage - Added migration system Storage - Added migration that removes profiles made in the old layer properties format Layer timeline - Added back zoom functionality
This commit is contained in:
1 parent
8456817a2b
commit
e6080eb897
58 files changed
+329
-188
No files matched your search
@@ -55,6 +55,12 @@ namespace Artemis.Core.Models.Profile.LayerProperties
|
||||
internal set => _currentValue = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the default value of this layer property. If set, this value is automatically applied if the property has no
|
||||
/// value in storage
|
||||
/// </summary>
|
||||
public T DefaultValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a read-only list of all the keyframes on this layer property
|
||||
/// </summary>
|
||||
@@ -275,5 +281,10 @@ namespace Artemis.Core.Models.Profile.LayerProperties
|
||||
EasingFunction = (int) k.EasingFunction
|
||||
}));
|
||||
}
|
||||
|
||||
public override void ApplyDefaultValue()
|
||||
{
|
||||
CurrentValue = DefaultValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user