mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Revert moving hover sounds to content container
This commit is contained in:
@ -44,8 +44,11 @@ namespace osu.Game.Graphics.Containers
|
|||||||
content.AutoSizeAxes = AutoSizeAxes;
|
content.AutoSizeAxes = AutoSizeAxes;
|
||||||
}
|
}
|
||||||
|
|
||||||
AddInternal(content);
|
AddRangeInternal(new Drawable[]
|
||||||
Add(CreateHoverSounds(sampleSet));
|
{
|
||||||
|
content,
|
||||||
|
CreateHoverSounds(sampleSet)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void ClearInternal(bool disposeChildren = true) =>
|
protected override void ClearInternal(bool disposeChildren = true) =>
|
||||||
|
@ -116,7 +116,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (hoverSounds.HasValue)
|
if (hoverSounds.HasValue)
|
||||||
Add(new HoverClickSounds(hoverSounds.Value) { Enabled = { BindTarget = Enabled } });
|
AddInternal(new HoverClickSounds(hoverSounds.Value) { Enabled = { BindTarget = Enabled } });
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
|
Reference in New Issue
Block a user