changed color picking, removed server pings
This commit is contained in:
@@ -128,6 +128,11 @@ function redraw() {
|
||||
|
||||
// All the code that is making zooms and moving around cavnas is made with big help of http://phrogz.net/tmp/canvas_zoom_to_cursor.html. Thanks alot!
|
||||
window.onload = function() {
|
||||
colorInput.addEventListener("change", (e) => {
|
||||
console.log("changed")
|
||||
currentColor = e.target.value;
|
||||
}, false);
|
||||
|
||||
connect();
|
||||
var ctx = canvas.getContext("2d");
|
||||
trackTransforms(ctx);
|
||||
|
||||
Reference in New Issue
Block a user