Updated icons

This commit is contained in:
Devine Lu Linvega
2018-03-07 11:02:43 +13:00
parent 679e3abccf
commit 1dea9762e8
4 changed files with 26 additions and 22 deletions

View File

@@ -226,14 +226,10 @@ function Tool()
console.log(`layer:${this.index}`)
}
this.layer_up = function()
this.select_next_layer = function()
{
this.select_layer(this.index-1);
}
this.layer_down = function()
{
this.select_layer(this.index+1);
this.index = this.index >= 2 ? 0 : this.index+1
this.select_layer(this.index);
}
function copy(data){ return data ? JSON.parse(JSON.stringify(data)) : []; }