This commit is contained in:
yumoqing 2025-12-12 13:42:54 +08:00
parent 7e3e500009
commit 7ce8fc90c7

View File

@ -7,6 +7,8 @@ bricks.BaseRunning = class extends bricks.FHBox {
} }
*/ */
constructor(opts){ constructor(opts){
if (! opts.cwidth) opts.cwidth = 2;
if (! opts.cheight) opts.cheight = 2;
super(opts); super(opts);
this.icon_w = new bricks.Icon({ this.icon_w = new bricks.Icon({
rate: opts.rate|| 2, rate: opts.rate|| 2,