Added color tweening
This commit is contained in:
@@ -8,8 +8,8 @@ function Cursor(rune)
|
||||
this.query = null;
|
||||
this.mode = "vertex";
|
||||
|
||||
this.color = "#f00"
|
||||
this.color_alt = "#fff"
|
||||
this.color = "#444444"
|
||||
this.color_alt = "#ff0000"
|
||||
this.size = 4;
|
||||
this.under = false;
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@ function Module(name,docs = "Missing documentation.")
|
||||
this.name = name;
|
||||
this.methods = {};
|
||||
|
||||
this.routes = {};
|
||||
this.ports = {};
|
||||
this.docs = docs;
|
||||
|
||||
this.hint = function()
|
||||
@@ -15,12 +13,7 @@ function Module(name,docs = "Missing documentation.")
|
||||
var v = this.methods[id];
|
||||
html += v.hint();
|
||||
}
|
||||
|
||||
for(route_id in this.routes){
|
||||
var route_val = this.routes[route_id];
|
||||
html += route_id+"->"+route_val+" ";
|
||||
}
|
||||
|
||||
|
||||
return html.trim() != "" ? " "+html.trim() : "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user