修改编辑自定义序列时删除两组相同块中间块的时候的行为

This commit is contained in:
MrZ626
2021-10-03 22:43:05 +08:00
parent 8f9b9952ea
commit 667a39dfd3

View File

@@ -62,9 +62,6 @@ function scene.keyDown(key)
if cur>0 then
rem(BAG,cur)
cur=cur-1
if cur>0 and BAG[cur]==BAG[cur+1]then
scene.keyDown("right")
end
end
elseif key=="delete"then
if sure>.3 then
@@ -142,7 +139,7 @@ function scene.draw()
local count=1
setFont(25)
repeat
if L[i]==L[i-1]then
if L[i]==L[i-1]and i-1~=cur then
count=count+1
else
if count>1 then