Compare commits

..

2 Commits

Author SHA1 Message Date
7ce8fc90c7 bugfix 2025-12-12 13:42:54 +08:00
7e3e500009 bugfix 2025-12-12 13:40:42 +08:00
2 changed files with 5 additions and 1 deletions

View File

@ -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();

View File

@ -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,