Code cleanup

This commit is contained in:
Robert committed 2020-01-14 19:18:24 +01:00
1 parent 0c245ba83d
commit ae330c3769
73 files changed
+372 -364

No files matched your search

@@ -74,7 +74,7 @@ namespace Artemis.Core.Models.Profile.LayerProperties
public string InputAffix { get; set; }
/// <summary>
/// Gets or sets whether this property can use keyframes, True by default.
/// Gets or sets whether this property can use keyframes, True by default.
/// </summary>
public bool CanUseKeyframes { get; set; }
@@ -1,5 +1,4 @@
using System;
using System.Collections.ObjectModel;
using System.Collections.ObjectModel;
using System.Linq;
namespace Artemis.Core.Models.Profile.LayerProperties
@@ -26,8 +25,8 @@ namespace Artemis.Core.Models.Profile.LayerProperties
{
get
{
var currentValue = base.GetCurrentValue();
return currentValue == null ? default : (T)currentValue;
var currentValue = GetCurrentValue();
return currentValue == null ? default : (T) currentValue;
}
}