From 4faaf29f830e3b93058420fc148337ce3e8890e3 Mon Sep 17 00:00:00 2001 From: michele Date: Fri, 1 Nov 2024 17:53:01 +0100 Subject: [PATCH] tinyhead: fix variable reference --- apps/tinyheads/lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tinyheads/lib.js b/apps/tinyheads/lib.js index 1c4ee42a5..a80f1059a 100644 --- a/apps/tinyheads/lib.js +++ b/apps/tinyheads/lib.js @@ -135,7 +135,7 @@ exports.drawFace = function(scale, eyesNum, mouthNum, peek, offset) { // Draw face let xOffset = (g.getWidth() - (exports.faceW * scale)) / 2; let yOffset = (offset ? offset : 0) + ((g.getHeight() - (exports.faceH * scale)) / 2); - g.setBgColor(settings.hairColour); + g.setBgColor(exports.settings.hairColour); g.clearRect(Bangle.appRect); g.setClipRect(Bangle.appRect.x, Bangle.appRect.y, Bangle.appRect.x2, Bangle.appRect.y2);