choozi - Prefer undithered colors only on B2

master
Martin Boonk 2022-12-18 20:08:01 +01:00
parent 7da2e3857e
commit f8d241bac4
1 changed files with 10 additions and 3 deletions

View File

@ -187,9 +187,16 @@ function readN() {
else setN(defaultN);
}
shuffle(colours); // is this really best?
shuffle(colours2);
colours=colours.concat(colours2);
if (process.env.HWVERSION == 1){
colours=colours.concat(colours2);
shuffle(colours);
} else {
shuffle(colours);
shuffle(colours2);
colours=colours.concat(colours2);
}
var maxN = colours.length;
if (process.env.HWVERSION == 1){
Bangle.setLCDMode("direct");