Fix osu circle size on first spawn

This commit is contained in:
2019-05-09 19:12:52 +02:00
parent f714164596
commit 8ab5118296

View File

@@ -52,20 +52,22 @@ SECONDARY_COLOR = color.GREEN
# Main
def main(c: tk.Canvas):
global canvas, circle
global canvas
# Ini
canvas = c
c.bind('<Motion>', motion)
circle = create_circle()
# Loop
def loop(deltatime: float, difficulty: float, end):
global tick, circle
# First circle
if circle == None:
circle = create_circle()
# Step
if tick >= STEP_TICK:
elif tick >= STEP_TICK:
# Tick or end?
if circle.value == 0:
# Check