Add button to toggle layer as mask

This commit is contained in:
Frederic Kettelhoit
2020-03-19 12:12:35 +01:00
committed by Atlas Cove
parent a4236752ab
commit 7a93075312
4 changed files with 11 additions and 2 deletions

View File

@@ -79,6 +79,7 @@ function Client () {
this.acels.set('Style', 'Linejoin', 'W', () => { this.tool.toggle('linejoin') })
this.acels.set('Style', 'Mirror', 'E', () => { this.tool.toggle('mirror') })
this.acels.set('Style', 'Fill', 'R', () => { this.tool.toggle('fill') })
this.acels.set('Style', 'Mask', 'C', () => { this.tool.toggle('mask') })
this.acels.set('Style', 'Thicker', '}', () => { this.tool.toggle('thickness', 1) })
this.acels.set('Style', 'Thinner', '{', () => { this.tool.toggle('thickness', -1) })
this.acels.set('Style', 'Thicker +5', ']', () => { this.tool.toggle('thickness', 5) })