Skip to content

Commit 32bbe27

Browse files
author
thyttan
committed
Merge branch 'bigclkinfo' into app-loader
2 parents 89ada72 + d9d7e55 commit 32bbe27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/bigclkinfo/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ let clockInfoMenu = clock_info.addInteractive(clockInfoItems, {
3737
let scale = 4;
3838
if (info.img) clock_info.drawBorderedImage(info.img, midx-12*scale,options.y+10, {scale:scale}); // draw the image
3939
let foundFontText = g.findFont(info.text, {
40-
w : Bangle.appRect.w-9, // optional: width available (default = screen width)
41-
h : Bangle.appRect.h*2/5, // optional: height available (default = screen height)
40+
w : options.w-9, // optional: width available (default = screen width)
41+
h : options.h*2/5, // optional: height available (default = screen height)
4242
min : 10, // optional: min font height
4343
max : 60, // optional: max font height
4444
wrap : true, // optional: allow word wrap?

0 commit comments

Comments
 (0)