This commit is contained in:
Sander Land committed 2020-12-18 16:39:59 +01:00
1 parent e29593517a
commit b6eb45ecc4
3 files changed
+1 -2

No files matched your search

-1
View File
@@ -77,7 +77,6 @@ class ScoreGraph(Graph):
def on_touch_down(self, touch):
if self.collide_point(*touch.pos) and "scroll" not in getattr(touch, "button", ""):
print(touch)
ix, _ = min(enumerate(self.score_points[::2]), key=lambda ix_v: abs(ix_v[1] - touch.x))
self.navigate_move = [
self.nodes[ix],