fix #603 shape select fails when clicking outside drawing area

This commit is contained in:
juliandescottes 2017-01-13 15:07:05 +01:00
parent 42f4812b46
commit a4952d0db2

View File

@ -62,7 +62,7 @@
getSimilarConnectedPixelsFromFrame: function(frame, col, row) {
var targetColor = frame.getPixel(col, row);
if (targetColor === null) {
return;
return [];
}
var startPixel = {