Fixed issue with export

This commit is contained in:
Devine Lu Linvega
2017-11-21 12:39:41 +13:00
parent 19ff6ddcaa
commit 65cebd67ee
6 changed files with 11 additions and 3 deletions

View File

@@ -15,6 +15,8 @@ function Cursor(rune)
{
this.clear();
if(!pos){ return; }
var ctx = this.context();
var radius = ronin.cursor.size;

View File

@@ -58,6 +58,9 @@ function Hint()
if(ac.length > 0){
this.el.innerHTML = this.pad(ronin.commander.input_el.value)+"<span class='autocomplete'>"+ac[0]+"</span> > Press tab to autocomplete."
}
else if(ronin.commander.input_el.value == "~"){
this.el.innerHTML = this.pad(ronin.commander.input_el.value)+" > Select a color."
}
else{
this.el.innerHTML = this.pad(ronin.commander.input_el.value)+" > Unknown command."
}

View File

@@ -35,6 +35,7 @@ function Keyboard()
if(e.key == "tab" || e.keyCode == 9){
e.preventDefault();
ronin.cursor.update();
ronin.commander.autocomplete();
return;
}