Changed background color
This commit is contained in:
parent
61c0d94198
commit
f4bbef4baa
|
@ -4,6 +4,6 @@ window.onload = function() {
|
||||||
bg = document.getElementById("bg");
|
bg = document.getElementById("bg");
|
||||||
ctx = bg.getContext("2d");
|
ctx = bg.getContext("2d");
|
||||||
|
|
||||||
ctx.fillStyle = "red";
|
ctx.fillStyle = "black";
|
||||||
ctx.fillRect(0, 0, bg.width, bg.height);
|
ctx.fillRect(0, 0, bg.width, bg.height);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue