mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2025-07-04 04:24:13 +00:00
Hires: Default to color 7
This commit is contained in:
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;
|
||||||
|
Reference in New Issue
Block a user