mirror of
https://github.com/osukey/osukey.git
synced 2025-05-31 18:37:32 +09:00
Ensure updateLoadingLayer
is run at least once
This commit is contained in:
parent
9eb16fa61d
commit
3b5fc6d10f
@ -186,16 +186,16 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
|||||||
searchTextBox.Current.BindValueChanged(_ => updateFilterDebounced());
|
searchTextBox.Current.BindValueChanged(_ => updateFilterDebounced());
|
||||||
ruleset.BindValueChanged(_ => UpdateFilter());
|
ruleset.BindValueChanged(_ => UpdateFilter());
|
||||||
|
|
||||||
ListingPollingComponent.InitialRoomsReceived.BindValueChanged(_ => updateLoadingLayer());
|
|
||||||
|
|
||||||
isIdle.BindValueChanged(_ => updatePollingRate(this.IsCurrentScreen()), true);
|
isIdle.BindValueChanged(_ => updatePollingRate(this.IsCurrentScreen()), true);
|
||||||
|
|
||||||
if (ongoingOperationTracker != null)
|
if (ongoingOperationTracker != null)
|
||||||
{
|
{
|
||||||
operationInProgress.BindTo(ongoingOperationTracker.InProgress);
|
operationInProgress.BindTo(ongoingOperationTracker.InProgress);
|
||||||
operationInProgress.BindValueChanged(_ => updateLoadingLayer(), true);
|
operationInProgress.BindValueChanged(_ => updateLoadingLayer());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ListingPollingComponent.InitialRoomsReceived.BindValueChanged(_ => updateLoadingLayer(), true);
|
||||||
|
|
||||||
updateFilter();
|
updateFilter();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user