This commit is contained in:
Amy Bowersox 2019-12-11 13:00:38 -07:00
parent b7e9de7d7e
commit 8c82022168
1 changed files with 2 additions and 2 deletions

View File

@ -48,12 +48,12 @@ def rubberband_line(x, y, down, up):
hdc.rop2 = upiwin.R2_XORPEN
if not down:
hdc.move_to(origin_x, origin_y)
hdc_line_to(current_x, current_y)
hdc.line_to(current_x, current_y)
current_x = x
current_y = y
if not up:
hdc.move_to(origin_x, origin_y)
hdc_line_to(current_x, current_y)
hdc.line_to(current_x, current_y)