mod split
This commit is contained in:
parent
daf0451c58
commit
41e899929b
|
|
@ -87,21 +87,3 @@ elements.rg3 = {
|
|||
category: "tools",
|
||||
excludeRandom: true,
|
||||
};
|
||||
|
||||
elements.daoe = {
|
||||
name: "delete all of element",
|
||||
color: ["#a7a7a7", "#a7a7a7", "#a7a7a7", "#a7a7a7", "#000000", "#000000", "#000000", "#000000"],
|
||||
tool: function(pixel) {
|
||||
for (var i = 1; i < width; i++) {
|
||||
for (var j = 1; j < height; j++) {
|
||||
if (!isEmpty(i,j)) {
|
||||
if(pixelMap[i][j].element == pixel.element) {
|
||||
deletePixel(i,j)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
category: "tools",
|
||||
excludeRandom: true,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue