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
Rewrite BeatmapCarousel with ModelView implementation #1697
Rewrite BeatmapCarousel with ModelView implementation #1697
Conversation
protected override IReadOnlyDependencyContainer CreateLocalDependencies(IReadOnlyDependencyContainer parent) => dependencies = new DependencyContainer(parent); | ||
|
||
[BackgroundDependencyLoader] | ||
private void load() | ||
private void load(BeatmapManager baseMaanger) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
756532c
to
b34e063
Compare
Also exposes SelectedBeatmapSet.
Tests accompany of course
bbd1125
to
04304c2
Compare
04304c2
to
fd9d900
Compare
82a6784
to
a8a2c23
Compare
Also fixes a lot of bad interactions and simplifies further.
… level Was causing BeatmapSet's Set to run *after* newer events were received.
|
954bc77#diff-17cb1f4d2c61ec9f4581df7ddae8f3adL63 Unused variable (why does resharper not pick up on this?). |
|
||
public IReadOnlyList<CarouselItem> Children => InternalChildren; | ||
|
||
protected List<CarouselItem> InternalChildren { get; set; } |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
||
protected virtual void ChildItemStateChanged(CarouselItem item, CarouselItemState value) | ||
{ | ||
// todo: check state of selected item. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
…ulty using context menu
I'm happy to get this merged in for now. I don't see anything obviously wrong with this for now, besides the jiggling due to the removal of the animation skipping. We can fix up any further issues later. 👍 |
The old one was horrible, so I rewrote it with better and tests.