1
0
forked from x/volcanos
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-07-14 16:37:43 +08:00
parent 6718744523
commit 6f68ae72dd
2 changed files with 1 additions and 1 deletions

View File

@ -80,6 +80,7 @@ Volcanos("user", {
"add", "添加", "opt", "优化", "fix", "修复", "message", "信息",
"max", "最大", "auto", "自动",
"confirm", "确定",
"prepare", "准备", "process", "处理", "finish", "完成",
"today", "今天",
)[text]||text
},

View File

@ -357,7 +357,6 @@ Volcanos(chat.ONSYNTAX, {_init: function(can, msg, cb) { var key = can.onexport.
function scroll(item, type, length, index) {
var tr = can.onaction.appendLine(can, item); can.onappend.style(can, type, tr)
if (index > 0) { return }
var line = can.onexport.line(can, tr)||can.onexport.line(can, tr.previousSibling)
can.onmotion.delay(can, function() {
var bar = can.onappend.scroll(can, can.ui.content, line/can.ui.content._max, length/can.ui.content._max); can.onappend.style(can, type, bar)