Fix spelling of 'vertices'
This commit is contained in:
parent
473dba1373
commit
a5168e4112
@ -287,7 +287,7 @@ function Dotgrid(width,height,grid_x,grid_y,block_x,block_y)
|
|||||||
{
|
{
|
||||||
if(this.preview_prev == operation){ return; }
|
if(this.preview_prev == operation){ return; }
|
||||||
|
|
||||||
this.preview_el.innerHTML = !operation || operation == "close" || !dotgrid.tool.can_cast(operation) ? `<path d='M0,0'></path>` : `<path d='${dotgrid.tool.path(dotgrid.tool.index,[{type:operation,verteces:dotgrid.tool.verteces}])}'></path>`;
|
this.preview_el.innerHTML = !operation || operation == "close" || !dotgrid.tool.can_cast(operation) ? `<path d='M0,0'></path>` : `<path d='${dotgrid.tool.path(dotgrid.tool.index,[{type:operation,vertices:dotgrid.tool.vertices}])}'></path>`;
|
||||||
this.preview_prev = operation;
|
this.preview_prev = operation;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -520,4 +520,4 @@ window.addEventListener('dragover',function(e)
|
|||||||
String.prototype.capitalize = function()
|
String.prototype.capitalize = function()
|
||||||
{
|
{
|
||||||
return this.charAt(0).toUpperCase() + this.slice(1).toLowerCase();
|
return this.charAt(0).toUpperCase() + this.slice(1).toLowerCase();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user