mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +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:
parent
1c2fe904b7
commit
16c6447bf9
@ -273,7 +273,7 @@ namespace Artemis.Core
|
|||||||
int index = 0;
|
int index = 0;
|
||||||
foreach (BaseLayerEffect baseLayerEffect in LayerEffects.OrderBy(e => e.Order))
|
foreach (BaseLayerEffect baseLayerEffect in LayerEffects.OrderBy(e => e.Order))
|
||||||
{
|
{
|
||||||
baseLayerEffect.Order = Order = index + 1;
|
baseLayerEffect.Order = index + 1;
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -437,4 +437,4 @@ namespace Artemis.Core
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user