8000 优化代码滚动 · HashCoding/boxbot@507bdb5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 507bdb5

Browse files
committed
优化代码滚动
1 parent 0a23487 commit 507bdb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Application.prototype.run = function () {
115115
codes.forEach((function (code, i) {
116116
if (code) {
117117
this.boxbot.exec(code).then((function () {
118-
if (i % 30 == 0) {
118+
if (i % 37 == 0) {
119119
this.editor.scrollTo(i)
120120
}
121121
this.editor.clearFlag(prev)

0 commit comments

Comments
 (0)
0