From 78f1c407578ad78b6609b9ef0f337a2e5b82f2a4 Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Mon, 27 Sep 2021 21:21:03 -0400 Subject: [PATCH] Remove old check_move --- main.py | 21 --------------------- 1 file changed, 21 deletions(-) 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