mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Update variable names
Also cleans up some weird code
This commit is contained in:
@ -37,9 +37,9 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
{
|
||||
DrawableRepresentation = new Lazy<DrawableCarouselItem>(CreateDrawableRepresentation);
|
||||
|
||||
Filtered.ValueChanged += e =>
|
||||
Filtered.ValueChanged += filtered =>
|
||||
{
|
||||
if (e.NewValue && State.Value == CarouselItemState.Selected)
|
||||
if (filtered.NewValue && State.Value == CarouselItemState.Selected)
|
||||
State.Value = CarouselItemState.NotSelected;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user