Preserve save widget types for execution

This commit is contained in:
2026-08-05 11:57:34 +00:00
parent 874932f72f
commit c26f97785b
+1 -1
View File
@@ -78,8 +78,8 @@ function el(tag, className, text) {
function hideWidget(widget) { function hideWidget(widget) {
if (!widget || widget.__dsiHidden) return; if (!widget || widget.__dsiHidden) return;
widget.__dsiHidden = true; widget.__dsiHidden = true;
widget.origType = widget.origType || widget.type;
widget.computeSize = () => [0, -4]; widget.computeSize = () => [0, -4];
widget.type = "hidden";
widget.hidden = true; widget.hidden = true;
} }