mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 12:35:34 +08:00
Early return if no change occurred in looping value
This commit is contained in:
parent
f08b523abf
commit
0bfe4650c3
@ -45,6 +45,8 @@ namespace osu.Game.Skinning
|
||||
get => looping;
|
||||
set
|
||||
{
|
||||
if (value == looping) return;
|
||||
|
||||
looping = value;
|
||||
|
||||
channels?.ForEach(c => c.Looping = looping);
|
||||
|
Loading…
Reference in New Issue
Block a user