diff --git a/scripts/filters/stencil.js b/scripts/filters/stencil.js index 7b1e944..27412b5 100644 --- a/scripts/filters/stencil.js +++ b/scripts/filters/stencil.js @@ -46,11 +46,11 @@ function Filter_Stencil() context.font = "5px Arial"; context.fillStyle = color; - context.fillText("GRID",(w*0.4)+10,10); + context.fillText(angle+"'",(w*0.4)+10,10); context.font = "5px Arial"; context.fillStyle = color; - context.fillText("GRID",(-w*0.4)-20,-10); + context.fillText(angle+"'",(-w*0.4)-20,-10); context.rotate(-angle*Math.PI/180); context.translate(-w/2,-h/2); diff --git a/scripts/modules/render.js b/scripts/modules/render.js index 70dda31..a9b7e46 100644 --- a/scripts/modules/render.js +++ b/scripts/modules/render.js @@ -37,7 +37,7 @@ function Render(rune) this.hint = function(content) { - var name = content.trim().replace(this.rune,"").trim().split(" "); + var name = content.trim().replace(this.rune,"").trim().split(" ")[0]; var h = ""; if(this.collection[name]){