Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@roomrys
Copy link
Contributor

@roomrys roomrys commented Aug 15, 2022

Description

Force nodes to be placed w/in video when dragging nodes in GUI.

Set coordinates of node to be within video even when mouse is dragged outside video. Note that this the video may be larger/smaller than the video player size (zoomed in/out video).

Types of changes

  • Bugfix
  • New feature
  • Refactor / Code style update (no logical changes)
  • Build / CI changes
  • Documentation Update
  • Other (explain)

Does this address any currently open issues?

Labels (keypoints) go outside of the frame #896

Outside contributors checklist

  • Review the guidelines for contributing to this repository
  • Read and sign the CLA and add yourself to the authors list
  • Make sure you are making a pull request against the develop branch (not main). Also you should start your branch off develop
  • Add tests that prove your fix is effective or that your feature works
  • Add necessary documentation (if appropriate)

Thank you for contributing to SLEAP!

❤️

@codecov
Copy link

codecov bot commented Aug 16, 2022

Codecov Report

Merging #912 (8fcf516) into develop (73e3db0) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #912      +/-   ##
===========================================
+ Coverage    67.34%   67.36%   +0.02%     
===========================================
  Files          130      130              
  Lines        22067    22081      +14     
===========================================
+ Hits         14860    14874      +14     
  Misses        7207     7207              
Impacted Files Coverage Δ
sleap/gui/widgets/video.py 66.79% <100.00%> (+0.46%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@roomrys roomrys marked this pull request as ready for review August 16, 2022 00:04
@roomrys roomrys requested a review from talmo August 16, 2022 00:04
Copy link
Collaborator

@talmo talmo left a comment

Choose a reason for hiding this comment

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

lgtm

@roomrys roomrys merged commit 609aaa6 into develop Aug 16, 2022
@roomrys roomrys deleted the liezl/node-boundaries branch August 16, 2022 23:46
@roomrys roomrys mentioned this pull request Sep 11, 2022
@FlorentLM
Copy link

An alternative approach would be being able to zoom out further than the player size and pan the video out of view, so any node that's outside can be easily grabbed anyway

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