Dynamically load panels

This commit is contained in:
Jordan Ruthe
2020-11-23 21:00:04 -05:00
parent 3b62439939
commit 8204e3ab17
18 changed files with 85 additions and 44 deletions

View File

@@ -10,6 +10,9 @@ from ks_includes.screen_panel import ScreenPanel
logger = logging.getLogger("KlipperScreen.MovePanel")
def create_panel(*args):
return MovePanel(*args)
class MovePanel(ScreenPanel):
distance = 1
distances = ['.1','.5','1','5','10','25']