diff --git a/main.py b/main.py index 732f508..6b0cf3d 100644 --- a/main.py +++ b/main.py @@ -70,27 +70,6 @@ class Cross_painter(Widget): # redraw self.canvas.clear() self.draw() - ## check move - #if self.check_move((touch.x,touch.y),self.selected): - # # move cross - # self.selected.pos=(touch.x,touch.y) - # # redraw - # self.canvas.clear() - # self.draw() - ## try to move just x - #elif self.check_move((touch.x,self.selected.pos[1]),self.selected): - # # move cross - # self.selected.pos=(touch.x,self.selected.pos[1]) - # # redraw - # self.canvas.clear() - # self.draw() - ## try to move just y - #elif self.check_move((self.selected.pos[0],touch.y),self.selected): - # # move cross - # self.selected.pos=(self.selected.pos[0],touch.y) - # # redraw - # self.canvas.clear() - # self.draw() # find the cross at position pos