Commit d811ccdf by BellCodeEditor

save project

parent 62a95924
Showing with 3 additions and 4 deletions
...@@ -72,10 +72,9 @@ while True: ...@@ -72,10 +72,9 @@ while True:
center[1] += 1 center[1] += 1
elif event.key == locals.K_DOWN: # 向下 elif event.key == locals.K_DOWN: # 向下
if center[0] < 25: if center[0] < 25:
if center[0] < 20: center[0] += 1
center[0] = 20 if cheaf(center) == False:
if cheaf(center) == False: center[0] -= 1
center[0] -= 1
elif event.key == locals.K_UP: elif event.key == locals.K_UP:
old_index = index old_index = index
index += 1 index += 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment