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

niels/color_mode_selector_update #122

Merged
merged 8 commits into from
Mar 28, 2024
Merged

Conversation

n-poulsen
Copy link
Collaborator

  • updates the "Color Mode" selector to only be visible for multi-animal projects (as "individual" labelling doesn't make sense in a single-animal setting)
  • disables the cycling of color mode with the "F" shortcut when a multi-animal layer isn't active (so you can't change the color mode when working on a single-animal project)

@n-poulsen n-poulsen requested a review from jeylau March 27, 2024 07:43
@codecov-commenter
Copy link

codecov-commenter commented Mar 27, 2024

Codecov Report

Attention: Patch coverage is 90.62500% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 82.83%. Comparing base (358cd03) to head (ff8ae9a).

Files Patch % Lines
src/napari_deeplabcut/_widgets.py 90.62% 3 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #122      +/-   ##
==========================================
+ Coverage   82.74%   82.83%   +0.08%     
==========================================
  Files          11       11              
  Lines        1837     1864      +27     
==========================================
+ Hits         1520     1544      +24     
- Misses        317      320       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@jeylau jeylau left a comment

Choose a reason for hiding this comment

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

Super, thanks @n-poulsen!

@jeylau jeylau merged commit 41993a1 into main Mar 28, 2024
7 checks passed
@jeylau jeylau deleted the niels/color_mode_selector_update branch March 28, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants