Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stweedo authored Sep 3, 2024
1 parent 3de80a7 commit 53b7275
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/boxclk/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,11 @@
date = new Date();
g.clear();

// Always draw background for full screen
if (bgImage) {
// Always draw backgrounds full screen

if (bgImage) { // Check for bg in boxclk config
g.drawImage(bgImage, 0, 0);
} else {
} else { // Otherwise use clockbg module
background.fillRect(0, 0, g.getWidth(), g.getHeight());
}

Expand Down

0 comments on commit 53b7275

Please sign in to comment.