Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 1000 and 2500 as trail length viewing options #2051

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sleap/gui/overlays/tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def __attrs_post_init__(self):
@classmethod
def get_length_options(cls):
if prefs["trail length"] != 0:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this conditional the correct thing to check for? won't it always be nonzero if we are using trails?

return (0, 10, 50, 100, 250, 500, prefs["trail length"])
return (0, 10, 50, 100, 250, 500)
return (0, 10, 50, 100, 250, 500, 1000, 2500, prefs["trail length"])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check the lag for these larger numbers

return (0, 10, 50, 100, 250, 500, 1000, 2500)

@classmethod
def get_shade_options(cls):
Expand Down
Loading