1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Merge pull request #702 from BigBrainAFK/patch-2

Fix LayerEffect order double variable assignment
This commit is contained in:
Diogo Trindade 2022-06-28 21:27:12 +01:00 committed by GitHub
commit c4010b5481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}
}