Fixed issue with Typo
This commit is contained in:
parent
b874e234e6
commit
e732715c13
@ -19,6 +19,7 @@ function Typographe(rune)
|
|||||||
if(!this.layer){ this.create_layer(); }
|
if(!this.layer){ this.create_layer(); }
|
||||||
|
|
||||||
if(cmd.variable("text")){
|
if(cmd.variable("text")){
|
||||||
|
this.layer.clear();
|
||||||
this.add_text(this.layer.context(),cmd);
|
this.add_text(this.layer.context(),cmd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -68,4 +69,9 @@ function Typographe(rune)
|
|||||||
ronin.overlay.draw(position);
|
ronin.overlay.draw(position);
|
||||||
commander.element_input.value = "& "+position.render();
|
commander.element_input.value = "& "+position.render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.key_escape = function()
|
||||||
|
{
|
||||||
|
if(this.layer){ this.layer.remove(this); }
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user