Compare commits
2 Commits
b8c8efd459
...
7ce8fc90c7
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ce8fc90c7 | |||
| 7e3e500009 |
@ -325,7 +325,9 @@ var _buildWidget = async function(from_widget, target, mode, options, desc){
|
||||
bricks.debug('options=', options, 'widgetBuild() failed');
|
||||
return;
|
||||
}
|
||||
|
||||
if (w instanceof bricks.Popup) {
|
||||
return
|
||||
}
|
||||
if (w.parent) {
|
||||
if (target instanceof bricks.Popup || target instanceof bricks.PopupWindow){
|
||||
target.destroy();
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user