Compare commits

..

No commits in common. "7ce8fc90c7a434eb45b2864091af5fa9484ef2f5" and "b8c8efd45961af544b158addb564fadbdcb1d235" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -325,9 +325,7 @@ var _buildWidget = async function(from_widget, target, mode, options, desc){
bricks.debug('options=', options, 'widgetBuild() failed'); bricks.debug('options=', options, 'widgetBuild() failed');
return; return;
} }
if (w instanceof bricks.Popup) {
return
}
if (w.parent) { if (w.parent) {
if (target instanceof bricks.Popup || target instanceof bricks.PopupWindow){ if (target instanceof bricks.Popup || target instanceof bricks.PopupWindow){
target.destroy(); target.destroy();

View File

@ -7,8 +7,6 @@ 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,