mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 11:12:59 +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;
|
get => looping;
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
|
if (value == looping) return;
|
||||||
|
|
||||||
looping = value;
|
looping = value;
|
||||||
|
|
||||||
channels?.ForEach(c => c.Looping = looping);
|
channels?.ForEach(c => c.Looping = looping);
|
||||||
|
Loading…
Reference in New Issue
Block a user