Fixed issue with Typo

This commit is contained in:
Devine Lu Linvega 2017-02-01 15:25:34 -07:00
parent b874e234e6
commit e732715c13

View File

@ -19,6 +19,7 @@ function Typographe(rune)
if(!this.layer){ this.create_layer(); }
if(cmd.variable("text")){
this.layer.clear();
this.add_text(this.layer.context(),cmd);
}
}
@ -68,4 +69,9 @@ function Typographe(rune)
ronin.overlay.draw(position);
commander.element_input.value = "& "+position.render();
}
this.key_escape = function()
{
if(this.layer){ this.layer.remove(this); }
}
}