Commit Graph

2500 Commits

Author SHA1 Message Date
1f12b2bd09 Rename download state Downloaded to Importing 2021-01-13 18:04:53 +03:00
49c6abcb5c Remove mention of default value in xmldoc
Just bound to get outdated with every change anyway. Look at the actual
default value declaration to see what the default is.
2021-01-08 18:26:41 +01:00
e156bcdcae Remove unnecessary (and broken) requiresDebounce check 2021-01-08 14:05:34 +09:00
11801d61c1 Use nullable doubule to better represent initial playback case 2021-01-08 14:05:22 +09:00
8f52a83b29 Share hover sound debounce across all instances via SessionStatics 2021-01-07 18:47:20 +09:00
6620eadec3 Reduce default hover sound debounce interval 2021-01-07 18:47:03 +09:00
0880e76da8 Mark background dim layer as possibly-null 2021-01-05 22:56:53 +01:00
ac1d6d4444 Make auto-property get-only 2021-01-05 22:56:53 +01:00
0639429a23 Fix test (and remove no longer valid test) 2021-01-05 18:10:39 +09:00
0b1ee2e267 Remove unused dispose logic 2021-01-05 17:42:19 +09:00
54982dcdd7 Refactor LoadingLayer to avoid applying effects to external drawables
In theory this seemed like a good idea (and an optimisation in some
cases, due to lower fill rate), but in practice this leads to weird edge
cases.

This aims to do away with the operations on external drawables by
applying a dim to the area behind the `LoadingLayer` when required.
I went over each usage and ensured they look as good or better than
previously.

The specific bad usage here was the restoration of the colour on dispose
(if the `LoadingLayer` was disposed in a still-visible state).

I'm aware that the `BeatmapListingOverlay` will now dim completely during
load. I think this is fine for the time being.
2021-01-05 17:31:45 +09:00
2cf76ebc75 Scroll to 20% and select section intersecting below there 2020-12-22 18:29:27 +02:00
78c14fd696 Refactor code into UserTrackingScrollContainer 2020-12-22 17:36:44 +02:00
10c1823534 Remove now unused files 2020-12-07 22:07:11 +09:00
62b1e37f73 Use async overloads 2020-12-03 18:04:53 +09:00
b0637cebd1 Merge branch 'master' into song-select-track-selected-better-2 2020-11-30 17:26:15 +09:00
a3afd88387 Use Interpolation.Lerp 2020-11-28 20:35:03 +01:00
8ad4cf73f5 Scale stars from 0.4 to 1 2020-11-28 17:09:43 +02:00
02d5b1352b Expose generic version of OsuScrollContainer 2020-11-26 18:25:56 +09:00
d5a4d46c6d Merge pull request #10842 from EVAST9919/profile-overlay-graph-new
Implement history charts for Profile Overlay
2020-11-24 18:05:17 +09:00
5701b32bae Handle constant graphs better 2020-11-23 22:12:32 +01:00
3ed7868801 Scroll editor setup screen to file selector on display
Previously the file selector would potentially display off-screen,
making for confusing UX.

Closes #10942.
2020-11-23 13:49:14 +09:00
58fc61aa95 Merge branch 'master' into legacy-judgement-particles 2020-11-20 22:19:11 +09:00
1c7ee2ca5f Simplify math by making direction a float 2020-11-19 18:46:19 +09:00
84e73e88d5 Use structs for parts for added safety 2020-11-19 18:08:54 +09:00
3a7291c5cf Fix some behavioural regressions 2020-11-19 17:56:11 +09:00
476d0256cc Replace particle explosion implementation with DrawNode version 2020-11-19 17:22:37 +09:00
83024f1ec5 Add back positional randomness from stable 2020-11-19 16:00:20 +09:00
efd5acb8ab Randomise direction every animation playback 2020-11-19 15:55:11 +09:00
9d04ce75cc Make particles additive and consume in judgement explosions 2020-11-19 15:47:02 +09:00
9df93e1f18 Add basic implementation of particle explosion
Using drawables still, just to get things in place and setup the
structure
2020-11-19 14:54:33 +09:00
3bcf9c255a Add Triangles.Reset() 2020-11-17 13:06:30 +09:00
33c643e369 Add obsoletion for unused property 2020-11-17 12:23:34 +09:00
2b0bea535e Resolve CA1805 inspections
"Member is explicitly initialized to its default value"
2020-11-01 18:47:40 +01:00
a9a3489e92 Fix potential null reference when loading background
As seen in
https://discordapp.com/channels/188630481301012481/188630652340404224/772094427342569493.
Caused due to async load of the loader, which means it may not be ready
before Next() is called.
2020-10-31 22:51:35 +09:00
78842ab95a Improve look & behaviour of background transitions 2020-10-30 22:40:24 +01:00
391dd73843 Fix typo in comment 2020-10-30 22:39:34 +01:00
38cf90a69b Change background to seasonal right after login 2020-10-30 22:03:26 +01:00
29ad099902 Allow to fetch if going online after launch 2020-10-30 21:49:14 +01:00
67a325f47d Move config setting logic to background loader 2020-10-30 21:22:22 +01:00
20c27c6943 Rename lookup & field 2020-10-30 19:55:22 +01:00
82ef85569b Fix nullref when querying IsInSeason before request completion 2020-10-30 19:35:08 +01:00
51a58269ad Fix nullref in case of successfull request but no backgrounds available 2020-10-30 17:57:29 +01:00
f6eb5680ec Save full api response in SessionStatics 2020-10-30 16:43:18 +01:00
d19dd4eef6 IsInSeason() -> IsInSeason 2020-10-30 15:56:19 +01:00
f27ce7521d Make "Sometimes" setting depend on season end date, rather than chance 2020-10-30 10:27:43 +01:00
d9846fad37 Remove fallback texture parameter
When there isn't a seasonal event, we don't want to fall back to the basic background here, but rather to the user selected background source.
2020-10-29 18:03:36 +01:00
907e1921c7 Make SeasonalBackgroundLoader read from SessionStatics 2020-10-29 17:31:42 +01:00
c1d03a5bac Add SeasonalBackgroundLoader and SeasonalBackground 2020-10-23 13:40:13 +02:00
58c9e57a68 Fix comment 2020-10-21 17:17:23 +02:00