diff --git a/apps/scribble/app.js b/apps/scribble/app.js index 3d05f68c5..99ee3f717 100644 --- a/apps/scribble/app.js +++ b/apps/scribble/app.js @@ -12,7 +12,7 @@ const transp = -1; const abc = "abcdefghijklmnopqrstuvwxyz1234567890"; // const abc_up = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"; 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; const font_height = 2; @@ -156,7 +156,7 @@ class Layer { class BTN_layer extends Layer { constructor(label, layout) { - + super(); Layer.call(this, label) this.alphabet = (uppercase) ? abc.toUpperCase() : abc; @@ -466,4 +466,4 @@ Bangle.on('swipe', function (direction) { g.clear(); // Start ticking -tick(); \ No newline at end of file +tick();