Bartłomiej Dach
|
0265a29000
|
Move bindings to LoadComplete()
|
2025-01-21 10:02:16 +01:00 |
|
Bartłomiej Dach
|
3c4bfc0a01
|
Merge spectator list classes into one skinnable
|
2025-01-17 11:23:14 +01:00 |
|
Dean Herbert
|
c8b38f05d5
|
Add note about the visibility logic because it tripped me up
|
2025-01-17 17:14:06 +09:00 |
|
Dean Herbert
|
f59762f0cb
|
Playing -> PlayingState
|
2025-01-17 17:11:40 +09:00 |
|
Bartłomiej Dach
|
5c799d733f
|
Bind to playing state via GameplayState instead to fix more tests
|
2025-01-16 15:25:56 +01:00 |
|
Bartłomiej Dach
|
0c54853710
|
Merge branch 'spectator-list-visuals' into spectator-list-ready
|
2025-01-16 15:13:04 +01:00 |
|
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 |
|
Dean Herbert
|
e47244989a
|
Adjust animations a bit
Removed autosize duration stuff because it looks weird when the list is
shown from scratch where users are already fully populated in it.
|
2025-01-16 19:23:54 +09:00 |
|
Dean Herbert
|
32906aefde
|
Add gradient on final spectator if more than list capacity are displayed
|
2025-01-16 19:05:19 +09:00 |
|
Dean Herbert
|
996798d2df
|
Avoid list width changing when spectator count changes
|
2025-01-16 19:02:14 +09:00 |
|
Bartłomiej Dach
|
12b2631e5e
|
Add a skinnable variant of spectator list & hook it up to online data
|
2025-01-15 14:29:53 +01:00 |
|
Bartłomiej Dach
|
43fc48a3f3
|
Add client methods allowing users to be notified of who is watching them
|
2025-01-15 14:18:01 +01:00 |
|
Bartłomiej Dach
|
582c5180b9
|
Implement spectator list display
- First step for https://github.com/ppy/osu/issues/22087
- Supersedes / closes https://github.com/ppy/osu/pull/22795
Roughly uses design shown in
https://github.com/ppy/osu/pull/22795#issuecomment-1579936284 with some
modifications to better fit everything else, and some customisation
options so it can fit better on other skins.
|
2025-01-15 14:17:53 +01:00 |
|