1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 21:13:22 +08:00
osu-lazer/osu.Game
Bartłomiej Dach 81f54507dd
Fix potential index accounting mistake when creating spectator list with spectators already present
Noticed by accident, but if the `BindCollectionChanged()` callback fires
immediately in `LoadComplete()` when set up and there are spectators
present already, then `NewStartingIndex` in the related event is -1:

	b03f83de36/src/libraries/System.ObjectModel/src/System/Collections/Specialized/NotifyCollectionChangedEventArgs.cs (L84-L92)

which kinda breaks the math introducing off-by-ones and in result causes
11 items to be displayed together rather than 10.
2025-01-16 14:29:41 +01:00
..
.idea/.idea.osu.dir/.idea Merge branch 'master' into multiplayer-remove-cmc-and-composite 2024-11-20 17:24:55 +09:00
Audio Use cleaner array creation expression 2025-01-07 01:23:19 +03:00
Beatmaps Constrain range of usable characters in romanised metadata to ASCII only 2025-01-06 14:04:47 +01:00
Collections Fix not being able to scroll to new collection text box when list overflows 2024-11-18 15:28:30 +01:00
Configuration Merge pull request #31444 from smoogipoo/friend-presence-2 2025-01-14 18:58:19 +09:00
Database Update realm xmldoc references 2025-01-08 01:35:56 +09:00
Extensions Apply minor performance rules 2024-11-28 20:41:44 +08:00
Graphics Fix idle/hover colour handling weirdness in OsuHoverContainer 2025-01-16 18:54:51 +09:00
Input Switch scroll direction for beat snap 2024-12-26 00:35:21 +01:00
IO Apply type inheritance check 2024-12-19 09:21:49 +01:00
IPC
Localisation Implement spectator list display 2025-01-15 14:17:53 +01:00
Models
Online Merge branch 'master' into spectator-list-visuals 2025-01-16 14:07:53 +01:00
Overlays Fix idle/hover colour handling weirdness in OsuHoverContainer 2025-01-16 18:54:51 +09:00
Performance Expose high performance session state 2024-04-16 10:04:38 +08:00
Properties
Replays Update HasFlag usages 2024-07-03 00:19:04 +09:00
Rulesets Typo fix 2025-01-15 19:29:41 -06:00
Scoring Use RealmLive in SaveFailedScoreButton 2024-11-27 15:25:42 +09:00
Screens Fix potential index accounting mistake when creating spectator list with spectators already present 2025-01-16 14:29:41 +01:00
Seasonal Add extra safeties against null ref when rulesets are missing 2024-12-21 20:30:00 +09:00
Skinning Add FormatStarRating() method util 2024-12-12 15:23:00 -08:00
Storyboards Fix potential nullref due to silly null handling and too much OOP 2025-01-14 19:03:58 +09:00
Tests Merge branch 'master' into beatmap-carousel-v2 2025-01-14 19:06:52 +09:00
Updater Resurrect SimpleUpdateManager as MobileUpdateNotifier 2024-07-05 03:29:09 -04:00
Users Appease message pack new inspections 2025-01-08 03:13:29 +09:00
Utils Add FormatStarRating() method util 2024-12-12 15:23:00 -08:00
.editorconfig
FodyWeavers.xml
osu!.res
osu.Game.csproj Update framework 2025-01-15 20:42:46 +09:00
OsuGame.cs Merge pull request #31444 from smoogipoo/friend-presence-2 2025-01-14 18:58:19 +09:00
OsuGameBase_Importing.cs
OsuGameBase.cs Add test coverage of user deleting intro files 2025-01-04 15:26:42 +09:00
PerformFromMenuRunner.cs