mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 21:16:24 +00:00
Fixed calculation error in wrap-extension
This commit is contained in:
1 parent
9cc8424ae8
commit
1af93658f9
1 file changed
+1
-1
@@ -60,7 +60,7 @@ namespace RGB.NET.Core
|
||||
{
|
||||
double range = max - min;
|
||||
|
||||
while (value > max)
|
||||
while (value >= max)
|
||||
value -= range;
|
||||
|
||||
while (value < min)
|
||||
|
||||
Reference in new issue
Block a user