From 7ce8fc90c7a434eb45b2864091af5fa9484ef2f5 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 12 Dec 2025 13:42:54 +0800 Subject: [PATCH] bugfix --- bricks/running.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bricks/running.js b/bricks/running.js index 76e12ab..716b8f6 100644 --- a/bricks/running.js +++ b/bricks/running.js @@ -7,6 +7,8 @@ bricks.BaseRunning = class extends bricks.FHBox { } */ constructor(opts){ + if (! opts.cwidth) opts.cwidth = 2; + if (! opts.cheight) opts.cheight = 2; super(opts); this.icon_w = new bricks.Icon({ rate: opts.rate|| 2,