|
@@ -349,7 +349,6 @@ while not pyray.window_should_close():
|
|
|
#print(mouse)
|
|
|
mouse_old = mouse[:]
|
|
|
|
|
|
- aapos = draw_mouse_box(None,[old_x,old_y],mouse_old,color=[128,128,128],text=1)
|
|
|
|
|
|
for k,btn in buttons.items():
|
|
|
btn.event(old_x,old_y,mouse_old)
|
|
@@ -360,7 +359,10 @@ while not pyray.window_should_close():
|
|
|
pyray.draw_rectangle(int(old_x-10),int(old_y-1),20,2,[255,0,255,255])
|
|
|
pyray.draw_rectangle(int(old_x-1),int(old_y-10),2,20,[255,0,255,255])
|
|
|
|
|
|
+ aapos = draw_mouse_box(None,[old_x,old_y],mouse_old,color=[128,128,128],text=1)
|
|
|
+
|
|
|
pyray.end_drawing()
|
|
|
+
|
|
|
time.sleep(1/11)
|
|
|
|
|
|
for i,v in enumerate(mouse_old):
|