mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2024-11-03 09:05:29 +00:00
Hires: Default to color 7
This commit is contained in:
parent
6278f871fb
commit
f70fe78d0a
2
hires.js
2
hires.js
@ -23,7 +23,7 @@ function HiRes(element, width, height) {
|
|||||||
last_x = 0,
|
last_x = 0,
|
||||||
last_y = 0,
|
last_y = 0,
|
||||||
pixels = [],
|
pixels = [],
|
||||||
color = 0,
|
color = 7,
|
||||||
context = element.getContext("2d");
|
context = element.getContext("2d");
|
||||||
|
|
||||||
pixels.length = width * height;
|
pixels.length = width * height;
|
||||||
|
Loading…
Reference in New Issue
Block a user