Commit e5385a90 by BellCodeEditor

save project

parent b5e2b02d
Showing with 3 additions and 0 deletions
...@@ -39,6 +39,9 @@ while True: ...@@ -39,6 +39,9 @@ while True:
# 按下鼠标 # 按下鼠标
if event.type == locals.MOUSEBUTTONDOWN: if event.type == locals.MOUSEBUTTONDOWN:
if even.button ==1:
x,y=event.pos
if x >270 and x<370 and y >350 andy<450:
if event.button == 1: if event.button == 1:
x,y = event.pos x,y = event.pos
if x > 270 and x <370 and y > 350 and y < 450: if x > 270 and x <370 and y > 350 and y < 450:
......
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