mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 03:19:56 +00:00
Fix LayerEffect order double variable assignment
This fixes the accidental double assignment of the LayerEffect order messing up more complex profiles. Closes #669
This commit is contained in:
1 parent
1c2fe904b7
commit
16c6447bf9
1 file changed
+2
-2
@@ -273,7 +273,7 @@ namespace Artemis.Core
|
||||
int index = 0;
|
||||
foreach (BaseLayerEffect baseLayerEffect in LayerEffects.OrderBy(e => e.Order))
|
||||
{
|
||||
baseLayerEffect.Order = Order = index + 1;
|
||||
baseLayerEffect.Order = index + 1;
|
||||
index++;
|
||||
}
|
||||
|
||||
@@ -437,4 +437,4 @@ namespace Artemis.Core
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user