From e601da8c293279518b61c61ac598bfd086769de8 Mon Sep 17 00:00:00 2001 From: shy Date: Fri, 10 May 2024 22:05:23 +0800 Subject: [PATCH] add some --- frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame.js b/frame.js index 102cfa60..a2167f59 100644 --- a/frame.js +++ b/frame.js @@ -740,7 +740,7 @@ Volcanos(chat.ONAPPEND, {_init: function(can, meta, list, cb, target, field) { ui.display && can.onmotion.hidden(can, ui.display), ui.profile && can.onmotion.hidden(can, ui.profile) ui.layout = function(height, width, delay, cb) { can.onmotion.delay(can, function() { defer = [], layout(type, ui.list, height, width), defer.forEach(function(cb) { cb() }) - if (can.db.value) { var _width = can.ConfWidth(); width = width-can.ui.project.offsetWidth + if (can.db.value) { var _width = can.ConfWidth(); width = width-(can.ui && can.ui.project? can.ui.project.offsetWidth: 0) if (can.isCmdMode()) { can.page.SelectChild(can, can._fields, "legend,form.option,div.header", function(target) { _width -= target.offsetWidth }) can.page.SelectChild(can, can._fields, "div.action", function(target) { can.page.style(can, target, html.MAX_WIDTH, _width-1)