forked from x/volcanos
opt some
This commit is contained in:
parent
6718744523
commit
6f68ae72dd
@ -80,6 +80,7 @@ Volcanos("user", {
|
||||
"add", "添加", "opt", "优化", "fix", "修复", "message", "信息",
|
||||
"max", "最大", "auto", "自动",
|
||||
"confirm", "确定",
|
||||
"prepare", "准备", "process", "处理", "finish", "完成",
|
||||
"today", "今天",
|
||||
)[text]||text
|
||||
},
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user