mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 01:27:29 +08:00
Use unique samples for Dialog, NowPlaying, SettingsPanel and WaveOverlay pop-in/pop-out
This commit is contained in:
parent
806324b196
commit
3eda78c363
@ -14,6 +14,9 @@ namespace osu.Game.Overlays
|
|||||||
{
|
{
|
||||||
private readonly Container dialogContainer;
|
private readonly Container dialogContainer;
|
||||||
|
|
||||||
|
protected override string PopInSampleName => "UI/dialog-pop-in";
|
||||||
|
protected override string PopOutSampleName => "UI/dialog-pop-out";
|
||||||
|
|
||||||
public PopupDialog CurrentDialog { get; private set; }
|
public PopupDialog CurrentDialog { get; private set; }
|
||||||
|
|
||||||
public DialogOverlay()
|
public DialogOverlay()
|
||||||
|
@ -51,6 +51,9 @@ namespace osu.Game.Overlays
|
|||||||
private Container dragContainer;
|
private Container dragContainer;
|
||||||
private Container playerContainer;
|
private Container playerContainer;
|
||||||
|
|
||||||
|
protected override string PopInSampleName => "UI/now-playing-pop-in";
|
||||||
|
protected override string PopOutSampleName => "UI/now-playing-pop-out";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provide a source for the toolbar height.
|
/// Provide a source for the toolbar height.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -40,6 +40,8 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
private SeekLimitedSearchTextBox searchTextBox;
|
private SeekLimitedSearchTextBox searchTextBox;
|
||||||
|
|
||||||
|
protected override string PopInSampleName => "UI/settings-pop-in";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provide a source for the toolbar height.
|
/// Provide a source for the toolbar height.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -18,6 +18,8 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
protected override bool StartHidden => true;
|
protected override bool StartHidden => true;
|
||||||
|
|
||||||
|
protected override string PopInSampleName => "UI/wave-pop-in";
|
||||||
|
|
||||||
protected WaveOverlayContainer()
|
protected WaveOverlayContainer()
|
||||||
{
|
{
|
||||||
AddInternal(Waves = new WaveContainer
|
AddInternal(Waves = new WaveContainer
|
||||||
|
Loading…
Reference in New Issue
Block a user