mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Copy settings before applying selection
This commit is contained in:
@ -198,10 +198,10 @@ namespace osu.Game.Overlays.Mods
|
|||||||
|
|
||||||
var buttonMod = button.Mods[index];
|
var buttonMod = button.Mods[index];
|
||||||
|
|
||||||
button.SelectAt(index, false);
|
|
||||||
|
|
||||||
// as this is likely coming from an external change, ensure the settings of the mod are in sync.
|
// as this is likely coming from an external change, ensure the settings of the mod are in sync.
|
||||||
buttonMod.CopyFrom(mod);
|
buttonMod.CopyFrom(mod);
|
||||||
|
|
||||||
|
button.SelectAt(index, false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user