Removed placeholders from Cursor

This commit is contained in:
Devine Lu Linvega 2017-01-23 16:55:26 -07:00
parent 8bba0c7b2d
commit d4784f08e7
2 changed files with 3 additions and 3 deletions

View File

@ -98,8 +98,8 @@ function Cursor(rune)
this.magnetic_position = function(position)
{
var x = parseInt(position.x / 20) * 20;
var y = parseInt(position.y / 20) * 20;
var x = parseInt(position.x / this.magnetism.width) * this.magnetism.width;
var y = parseInt(position.y / this.magnetism.width) * this.magnetism.width;
return new Position(x,y);
}

View File

@ -36,7 +36,7 @@ starting_canvas.height = parseInt(starting_canvas.height/40) * 40;
commander.query("~ "+ronin.timestamp());
commander.query("# "+starting_canvas.render());
commander.query("# layer=Background");
commander.query("# #ff0000");
commander.query("# #a1a1a1");
commander.query("# layer=Main");
commander.query("> 1 ; > 0,0 ; > 1,1 ; > #ffffff");
commander.query("~ Ready.");