Added mirror type

This commit is contained in:
Devine Lu Linvega
2018-11-22 09:21:34 +12:00
parent 9d033b9277
commit 75386fc2af
4 changed files with 16 additions and 15 deletions

View File

@@ -165,7 +165,7 @@ DOTGRID.Tool = function () {
} else if (type == 'thickness') {
this.style().thickness = clamp(this.style().thickness + mod, 1, 100)
} else if (type == 'mirror') {
this.style().mirror_style = this.style().mirror_style > 3 ? 0 : this.style().mirror_style + 1
this.style().mirror_style = this.style().mirror_style > 2 ? 0 : this.style().mirror_style + 1
} else {
console.warn('Unknown', type)
}