mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Meta - Code cleanup
This commit is contained in:
1 parent
18593853d8
commit
fd991112a9
105 files changed
+3097
-2624
No files matched your search
@@ -164,7 +164,7 @@ namespace Artemis.Core.Models.Profile
|
||||
LayerEntity.LayerEffects.Clear();
|
||||
foreach (var layerEffect in LayerEffects)
|
||||
{
|
||||
var layerEffectEntity = new LayerEffectEntity()
|
||||
var layerEffectEntity = new LayerEffectEntity
|
||||
{
|
||||
PluginGuid = layerEffect.PluginInfo.Guid,
|
||||
EffectType = layerEffect.GetType().Name,
|
||||
@@ -505,7 +505,7 @@ namespace Artemis.Core.Models.Profile
|
||||
{
|
||||
if (LayerBrush == null)
|
||||
return;
|
||||
|
||||
|
||||
var brush = LayerBrush;
|
||||
DeactivateLayerBrush();
|
||||
LayerEntity.PropertyEntities.RemoveAll(p => p.PluginGuid == brush.PluginInfo.Guid && p.Path.StartsWith("LayerBrush."));
|
||||
|
||||
Reference in new issue
Block a user