Fixed issues with cursor
This commit is contained in:
@@ -4,9 +4,9 @@ function Position(position_str = "0,0",y = null)
|
||||
|
||||
this.example = "100,150";
|
||||
this.position_str = position_str;
|
||||
|
||||
this.x = y != null ? position_str : parseFloat(this.position_str.split(",")[0]);
|
||||
this.y = y != null ? y : parseFloat(this.position_str.split(",")[1]);
|
||||
|
||||
this.x = y != null ? position_str : parseFloat(position_str.split(",")[0]);
|
||||
this.y = y != null ? y : parseFloat(position_str.split(",")[1]);
|
||||
|
||||
this.add = function(position)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user