Finished Line Tool

This commit is contained in:
Leamsi Escribano
2021-01-14 15:28:57 -05:00
parent d3a1b6f474
commit 5556587088
7 changed files with 71 additions and 13 deletions

View File

@@ -85,4 +85,14 @@ on('click',"line-button", function(){
tool.line.switchTo();
}, false);
on('click',"line-bigger-button", function(){
tool.line.brushSize++;
}, false);
on('click',"line-smaller-button", function(){
if(tool.line.brushSize > 1)
tool.line.brushSize--;
}, false);
/*global on */