mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Merge remote-tracking branch 'upstream/master' into warning_fixes
This commit is contained in:
@ -43,7 +43,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
class OsuCursor : Container
|
||||
{
|
||||
private Container cursorContainer;
|
||||
private BindableDouble cursorScale;
|
||||
private Bindable<double> cursorScale;
|
||||
|
||||
public OsuCursor()
|
||||
{
|
||||
@ -54,7 +54,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuConfigManager config)
|
||||
{
|
||||
cursorScale = (BindableDouble)config.GetBindable<double>(OsuConfig.CursorSize);
|
||||
cursorScale = config.GetBindable<double>(OsuConfig.CursorSize);
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
@ -82,9 +82,9 @@ namespace osu.Game.Graphics.UserInterface.Volume
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(AudioManager audio)
|
||||
{
|
||||
volumeMeterMaster.Bindable.Weld(audio.Volume);
|
||||
volumeMeterEffect.Bindable.Weld(audio.VolumeSample);
|
||||
volumeMeterMusic.Bindable.Weld(audio.VolumeTrack);
|
||||
volumeMeterMaster.Bindable.BindTo(audio.Volume);
|
||||
volumeMeterEffect.Bindable.BindTo(audio.VolumeSample);
|
||||
volumeMeterMusic.Bindable.BindTo(audio.VolumeTrack);
|
||||
}
|
||||
|
||||
ScheduledDelegate popOutDelegate;
|
||||
|
Reference in New Issue
Block a user