mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Merge branch 'master' into fix-blueprint-outside-container
This commit is contained in:
commit
97a03729b2
@ -19,7 +19,7 @@ namespace osu.Game.Overlays.Direct
|
|||||||
public DownloadProgressBar(BeatmapSetInfo beatmapSet)
|
public DownloadProgressBar(BeatmapSetInfo beatmapSet)
|
||||||
: base(beatmapSet)
|
: base(beatmapSet)
|
||||||
{
|
{
|
||||||
AddInternal(progressBar = new ProgressBar
|
AddInternal(progressBar = new InteractionDisabledProgressBar
|
||||||
{
|
{
|
||||||
Height = 0,
|
Height = 0,
|
||||||
Alpha = 0,
|
Alpha = 0,
|
||||||
@ -64,5 +64,11 @@ namespace osu.Game.Overlays.Direct
|
|||||||
}
|
}
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private class InteractionDisabledProgressBar : ProgressBar
|
||||||
|
{
|
||||||
|
public override bool HandlePositionalInput => false;
|
||||||
|
public override bool HandleNonPositionalInput => false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user