From 230c682d2392f88f71bc3dd80e0d59a6af9158d3 Mon Sep 17 00:00:00 2001 From: PastaRhythm <83084413+PastaRhythm@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:07:02 -0400 Subject: [PATCH] Move loadWidgets after setUI The checker said that I should load widgets after setUI, so I did that. --- apps/bblobsface/app.js | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/apps/bblobsface/app.js b/apps/bblobsface/app.js index 24a8ca3f985..579a6bbb43f 100644 --- a/apps/bblobsface/app.js +++ b/apps/bblobsface/app.js @@ -603,22 +603,6 @@ } }; - g.reset(); - - Bangle.loadWidgets(); - require("widget_utils").hide(); - - drawBackground(); - drawTime(true); - - restartGame(); - - newPair(); - drawGhostPiece(false); - - drawNextQueue(); - drawChainCount(); - // ~~ Events ~~ let dragAmnt = 0; @@ -765,4 +749,20 @@ if (clockDrawTimeout) clearTimeout(clockDrawTimeout); require("widget_utils").show(); }}); + + g.reset(); + + Bangle.loadWidgets(); + require("widget_utils").hide(); + + drawBackground(); + drawTime(true); + + restartGame(); + + newPair(); + drawGhostPiece(false); + + drawNextQueue(); + drawChainCount(); }