bugfix
This commit is contained in:
parent
7e3e500009
commit
7ce8fc90c7
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user