mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
fix #603 shape select fails when clicking outside drawing area
This commit is contained in:
parent
42f4812b46
commit
a4952d0db2
@ -62,7 +62,7 @@
|
||||
getSimilarConnectedPixelsFromFrame: function(frame, col, row) {
|
||||
var targetColor = frame.getPixel(col, row);
|
||||
if (targetColor === null) {
|
||||
return;
|
||||
return [];
|
||||
}
|
||||
|
||||
var startPixel = {
|
||||
|
Loading…
Reference in New Issue
Block a user