Improved stencil
This commit is contained in:
parent
fe9e2c9475
commit
e1cec80733
@ -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);
|
||||
|
@ -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]){
|
||||
|
Loading…
x
Reference in New Issue
Block a user