Fixed calculation error in wrap-extension

This commit is contained in:
DarthAffe committed 2018-01-23 20:05:35 +01:00
1 parent 9cc8424ae8
commit 1af93658f9
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ namespace RGB.NET.Core
{
double range = max - min;
while (value > max)
while (value >= max)
value -= range;
while (value < min)