Buttons for selecting upper-right or lower-left extent when adding center track #826
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Buttons for selecting the upper-right or lower-left extent were added to the center square of the add track position pop-up menu. The behavior of
HiGlassComponent.adjustOtherTrackOptions
had to be slightly modified (https://github.com/higlass/higlass/compare/develop...keller-mark:keller-mark/add-center-track-with-extent?expand=1#diff-77a44232595309f20e1f8787348f2734L3179) to prevent infinite loops.Not necessary, just an enhancement.
Fixes #759
Screenshots
No hover:
![Screen Shot 2020-01-14 at 10 59 18 AM](https://user-images.githubusercontent.com/7525285/72360479-01cb2c80-36be-11ea-9b34-241bd5375f76.png)
Hover over center:
![Screen Shot 2020-01-14 at 10 59 25 AM](https://user-images.githubusercontent.com/7525285/72360499-098ad100-36be-11ea-8abc-97ebff232192.png)
Hover over upper right triangle:
![Screen Shot 2020-01-14 at 10 59 32 AM](https://user-images.githubusercontent.com/7525285/72360546-11e30c00-36be-11ea-8809-4ccbf6bedc93.png)
Hover over lower left triangle:
![Screen Shot 2020-01-14 at 10 59 39 AM](https://user-images.githubusercontent.com/7525285/72360571-1a3b4700-36be-11ea-9b12-d9f09c6f81d0.png)
Checklist