mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Rework pixel storage, manipulation, rendering
This commit is contained in:

committed by
Julian Descottes

parent
06abdca62e
commit
f5c98cf0b3
@ -198,7 +198,7 @@ describe("SelectionManager suite", function() {
|
||||
|
||||
var checkContainsPixel = function (pixels, row, col, color) {
|
||||
var containsPixel = pixels.some(function (pixel) {
|
||||
return pixel.row == row && pixel.col == col && pixel.color == color;
|
||||
return pixel.row == row && pixel.col == col && test.testutils.compareColor(pixel.color, color);
|
||||
});
|
||||
expect(containsPixel).toBe(true);
|
||||
};
|
||||
|
Reference in New Issue
Block a user