forked from FOSS/BangleApps
tweaks to allow lint to pass after #1019
parent
72aa32f9fc
commit
aa94abe3be
|
@ -12,7 +12,7 @@ const transp = -1;
|
||||||
const abc = "abcdefghijklmnopqrstuvwxyz1234567890";
|
const abc = "abcdefghijklmnopqrstuvwxyz1234567890";
|
||||||
// const abc_up = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
|
// const abc_up = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
|
||||||
const uppercase = 1;
|
const uppercase = 1;
|
||||||
const last_layer = false; // set to true at the last layer of the tree
|
var last_layer = false; // set to true at the last layer of the tree
|
||||||
let chunk_size = 6;
|
let chunk_size = 6;
|
||||||
|
|
||||||
const font_height = 2;
|
const font_height = 2;
|
||||||
|
@ -156,7 +156,7 @@ class Layer {
|
||||||
class BTN_layer extends Layer {
|
class BTN_layer extends Layer {
|
||||||
|
|
||||||
constructor(label, layout) {
|
constructor(label, layout) {
|
||||||
|
super();
|
||||||
Layer.call(this, label)
|
Layer.call(this, label)
|
||||||
|
|
||||||
this.alphabet = (uppercase) ? abc.toUpperCase() : abc;
|
this.alphabet = (uppercase) ? abc.toUpperCase() : abc;
|
||||||
|
@ -466,4 +466,4 @@ Bangle.on('swipe', function (direction) {
|
||||||
g.clear();
|
g.clear();
|
||||||
|
|
||||||
// Start ticking
|
// Start ticking
|
||||||
tick();
|
tick();
|
||||||
|
|
Loading…
Reference in New Issue