mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Update with framework bindable changes
This commit is contained in:
@ -35,9 +35,9 @@ namespace osu.Game.Overlays.Direct
|
||||
progressBar.BackgroundColour = Color4.Black.Opacity(0.7f);
|
||||
progressBar.Current = Progress;
|
||||
|
||||
State.BindValueChanged(state =>
|
||||
State.BindValueChanged(e =>
|
||||
{
|
||||
switch (state)
|
||||
switch (e.NewValue)
|
||||
{
|
||||
case DownloadState.NotDownloaded:
|
||||
progressBar.Current.Value = 0;
|
||||
|
Reference in New Issue
Block a user