Started implementing options

This commit is contained in:
Devine Lu Linvega
2018-08-03 12:53:26 +12:00
parent 6027918884
commit 9eabe68ba3
5 changed files with 66 additions and 66 deletions

View File

@@ -209,7 +209,7 @@ function Guide()
this.draw_preview = function()
{
var operation = dotgrid.cursor.operation
var operation = dotgrid.cursor.operation && dotgrid.cursor.operation.cast ? dotgrid.cursor.operation.cast : null
if(!dotgrid.tool.can_cast(operation)){ return; }
if(operation == "close"){ return; }