mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:33:21 +08:00
Fix checkbox dependency in LoginOptions
This commit is contained in:
parent
09b59b5003
commit
2d75c60463
@ -176,11 +176,11 @@ namespace osu.Game.Configuration
|
|||||||
ConfineMouseMode.Fullscreen : ConfineMouseMode.Never).Disabled = true;
|
ConfineMouseMode.Fullscreen : ConfineMouseMode.Never).Disabled = true;
|
||||||
|
|
||||||
|
|
||||||
GetBindable<bool>(OsuConfig.SavePassword).ValueChanged += delegate
|
GetOriginalBindable<bool>(OsuConfig.SavePassword).ValueChanged += delegate
|
||||||
{
|
{
|
||||||
if (Get<bool>(OsuConfig.SavePassword)) Set(OsuConfig.SaveUsername, true);
|
if (Get<bool>(OsuConfig.SavePassword)) Set(OsuConfig.SaveUsername, true);
|
||||||
};
|
};
|
||||||
GetBindable<bool>(OsuConfig.SaveUsername).ValueChanged += delegate
|
GetOriginalBindable<bool>(OsuConfig.SaveUsername).ValueChanged += delegate
|
||||||
{
|
{
|
||||||
if (!Get<bool>(OsuConfig.SaveUsername)) Set(OsuConfig.SavePassword, false);
|
if (!Get<bool>(OsuConfig.SaveUsername)) Set(OsuConfig.SavePassword, false);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user