optimized some path calculation code

This commit is contained in:
2025-08-18 18:04:21 +02:00
parent 306c8755eb
commit a507916f1c
2 changed files with 9 additions and 7 deletions

View File

@ -37,6 +37,9 @@ class Knob:
def get_position(self):
return self.position
def get_index(self, knobs):
return knobs.index(self)
def __eq__(self, other):
if other is None: return False