mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Bitmap brush - Fixed samples being taken out of bounds
Effects UI - Fixed effects list not always hiding on click Effects UI - Fixed transition origin not always updating
This commit is contained in:
1 parent
480fae02b9
commit
8eed347de5
5 files changed
+74
-50
No files matched your search
@@ -117,7 +117,7 @@ namespace Artemis.Core.RGB.NET
|
||||
{
|
||||
var x = left + horizontalSteps * horizontalStep;
|
||||
var y = top + verticalSteps * verticalStep;
|
||||
if (x < 0 || x > bitmapWidth || y < 0 || y > bitmapHeight)
|
||||
if (x < 0 || x >= bitmapWidth || y < 0 || y >= bitmapHeight)
|
||||
continue;
|
||||
|
||||
var color = pixmap.GetPixelColor(x, y);
|
||||
|
||||
Reference in new issue
Block a user