Commit Graph

7729 Commits

Author SHA1 Message Date
abba49fd8f Update all usages of OsuSlider.TooltipText overrides to instead implement GetTooltipText 2022-03-04 12:16:05 +09:00
3a37e6e8b1 Fix profile badges potentially showing on incorrect profile when switching users
Closes https://github.com/ppy/osu/issues/17081.
2022-03-04 12:01:00 +09:00
9c43500ad3 Add ability for player loading screen settings to scroll
As we add more items here this is going to become necessary. Until the design no doubt gets changed.
2022-03-03 16:23:31 +09:00
c06703d662 Add ability to select which display the game runs on 2022-03-02 18:29:07 +09:00
899b95e61b Do not delay inital mod update by a frame 2022-02-28 21:46:58 +01:00
e8701f46f1 Add xmldoc to Filter to explain usage 2022-02-28 21:39:21 +01:00
6cc972aa6a Fix test failures by waiting for panel load 2022-02-28 21:36:13 +01:00
4a555d067d Change ModPanel to not handle OnMouseDown to allow drag scrolling in ModColumn 2022-02-28 14:32:50 +09:00
774952adda Rescale components from figma to real dimensions 2022-02-27 23:08:31 +01:00
16c6b9b3b3 Add keyboard selection support to mod column 2022-02-27 22:51:29 +01:00
b690df05de Hide multiselection checkbox if everything is filtered 2022-02-27 22:51:29 +01:00
a83f96b026 Add filtering support to mod column 2022-02-27 22:51:29 +01:00
a80b4334ff Tweak layout of column display for better spacing 2022-02-27 22:51:28 +01:00
53e8072632 Port multiselection from previous design 2022-02-27 22:51:28 +01:00
f40bd39487 Add toggle all checkbox to column display 2022-02-27 22:51:28 +01:00
2e04a83554 Implement column display for new mod design 2022-02-27 22:51:27 +01:00
a86bc344da Merge pull request #16977 from peppy/pause-at-results
Allow pausing audio via hotkey at multiplayer lobby and results screen
2022-02-25 19:13:06 +09:00
c189cc5d00 Remove unused using directive 2022-02-24 21:01:37 +01:00
401cf2a955 Allow pausing game-wide audio via hotkey as long as LocalUserPlaying is not set
`Player` seems to handle this correctly locally already, which is to say
if the user attempts to toggle the pause state incorrectly, it will
still recover.

The logic stoppic this operation was only in the key binding handler,
which meant it was already possible from the now playing overlay this
whole time, so I *think* this should be quite safe.
2022-02-24 16:00:14 +09:00
435bdd0b4a Combine and simplify state management logic
This makes a few changes to bring things into a better shape during
mouse interactions with the mod panels:

- Dragging away from the panel now works in line with other buttons (ie.
  `OsuButton`)
- Hovering now uses a lightened version of the current state, rather
  than always using the active colour. I think this feels better.
- Mouse down now uses a transform point of 0.5. This is to give the
  button a feeling of one of those latching light switches which resists
until reaching a point of overcoming the spring and switching state. I
think 0.4 (non-active) and 0.6 (from active) may work better, but left
at 0.5 for simplicity of implementation and I think it's good enough?
- Border always uses the gradiented version. I did this for simplicity
  of implementation, but also think it looks better.
- Adjusted transform durations to feel better to me.
2022-02-24 15:25:30 +09:00
6e8daa06fa Merge branch 'master' into mod-overlay/panel 2022-02-24 14:34:59 +09:00
713f89a59c Implement incompatibility-displaying variant of mod panel 2022-02-23 23:19:06 +01:00
bbe2dfa458 Move out incompatibility displaying tooltip to own class 2022-02-23 23:18:15 +01:00
8a0aba6c59 Implement mod panel for new mod select screen 2022-02-23 23:18:14 +01:00
29d77a29aa Merge branch 'master' into startup-protocol-handling 2022-02-23 21:10:27 +01:00
1a358698fb Merge branch 'master' into startup-protocol-handling 2022-02-22 22:42:16 +01:00
6de4e05e49 Fix current selection not being correctly maintained when BeatmapPicker updates its display 2022-02-22 17:17:08 +09:00
e744840d07 Ensure old results are cleared from beatmap overlay on logout 2022-02-22 14:56:04 +09:00
d6032a2335 Fix beatmap overlay not re-fetching results after login 2022-02-22 14:55:52 +09:00
fc1877b6fa Move to extension method and revert logic to match previous implementation 2022-02-21 13:42:26 +09:00
79408f6afc Add xmldoc and clean up ScoreboardTimeUtils extension methods a touch 2022-02-21 13:30:58 +09:00
abe1a3990a Merge branch 'master' into leaderboard-score-timeref 2022-02-21 12:11:10 +09:00
36a00c1ee2 Remove static OverlayColourProviders 2022-02-20 21:09:08 +01:00
ce0db9d4db Remove all references to static OverlayColourProviders 2022-02-20 21:09:08 +01:00
79ba37bbab Add Colour0 to OverlayColourProvider 2022-02-20 21:09:08 +01:00
2592f0900d Add comments about OverlayColourProvider vs OsuColour distinction 2022-02-20 21:08:58 +01:00
15ed9ec4fa Merge scoreboard and leaderboard implementations together 2022-02-19 20:47:02 +01:00
b66566e96d Use explicit culture info rather than null 2022-02-16 10:35:57 +03:00
7654584e40 Allow using SizeSlider on different value types 2022-02-16 03:25:03 +03:00
f7edf25d4c Remove no longer required property 2022-02-16 03:23:02 +03:00
ea5bb46fb8 Merge branch 'master' into net6 2022-02-16 00:40:04 +09:00
f5d0eb41cb Update further ChangeFocus usages 2022-02-15 02:42:39 +03:00
9504942cfd Add test case for distance spacing hotkeys scrolling behaviour 2022-02-15 02:21:53 +03:00
4bd58cfde1 Update one more custom transform with BorderColour type change 2022-02-14 18:52:19 +01:00
b9d9fc56af Move files to UI namespace 2022-02-14 17:51:39 +09:00
80ba06b0e3 Merge branch 'master' into expandable-controls 2022-02-14 16:57:45 +09:00
ccd6648961 Update pinned score container header to use localised title 2022-02-11 09:22:09 +03:00
4f7003928a Add score container for pinned scores in ranks section 2022-02-10 21:32:18 +03:00
eda213e4de Merge pull request #16827 from smoogipoo/spectator-state-rework
Add user state to SpectatorState, allowing multiplayer to continue to results
2022-02-11 01:48:47 +09:00
44f2d8a448 Allow game folder migration to fail gracefully when cleanup cannot completely succeed 2022-02-10 19:30:26 +09:00