Skip to content

Commit

Permalink
Code formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Brollyy committed Aug 31, 2024
1 parent 3977719 commit 925b23f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Classes/MapEditor/Stats/DifficultyPredictorMelchior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ private static double GetMelchiorDifficultyScore(SortedSet<Note> notes, double g
return diffPoints;
}
}
}
}
2 changes: 1 addition & 1 deletion Classes/MapEditor/Stats/IDifficultyPredictor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public enum Features {
RealTime = 4 // supports real-time difficulty prediction of incomplete maps
}
}
}
}
6 changes: 3 additions & 3 deletions Windows/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1045,9 +1045,9 @@ public void UpdatePlaybackDevice(string newPlaybackDeviceID, bool isDefaultDevic
playbackDeviceID = newPlaybackDeviceID;
playingOnDefaultDevice = isDefaultDevice;
defaultDeviceAvailable = true; // Might not be true, but will be checked next time playback device is accessed.
// Song is paused here in order to clean up old objects in peace.
// When trying to do this while the song is still playing, there's some hard-to-track issues with
// objects not being disposed correctly, resulting in memory leaks.
// Song is paused here in order to clean up old objects in peace.
// When trying to do this while the song is still playing, there's some hard-to-track issues with
// objects not being disposed correctly, resulting in memory leaks.
PauseSong();
var oldSongPlayer = songPlayer;
InitSongPlayer();
Expand Down

0 comments on commit 925b23f

Please sign in to comment.