Initialize visual components such as SAM for assistance
This commit is contained in:
@@ -63,6 +63,8 @@ class DuckTrackEventActionConverter:
|
||||
|
||||
def scroll_event_to_action(self, event: dict):
|
||||
# TODO: need to confirm if df < 0 means scroll up or down
|
||||
|
||||
# TODO: NEED to be test to match the scroll up and down with our action, e.g. scroll here once is equal to scroll 10 or scroll 20?
|
||||
if event["dy"] < 0:
|
||||
down = False
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user