add tgt weight display
This commit is contained in:
@@ -151,16 +151,18 @@ class MainView(tk.Frame):
|
||||
self.right_press_job = None
|
||||
self.right_button_long_press()
|
||||
|
||||
|
||||
############ BUTTON ACTIONS ###########
|
||||
|
||||
def left_button_press(self):
|
||||
self.tare_command()
|
||||
|
||||
def right_button_press(self):
|
||||
self.timer_view.toggle_timer()
|
||||
|
||||
def left_button_long_press(self):
|
||||
"""Handle long press on left button"""
|
||||
print("Left button long press") # Replace with your logic
|
||||
pass
|
||||
self.timer_view.reset_timer()
|
||||
|
||||
|
||||
def right_button_press(self):
|
||||
self.tare_command()
|
||||
|
||||
def right_button_long_press(self):
|
||||
self.timer_view.reset_timer()
|
||||
pass
|
||||
Reference in New Issue
Block a user