Commit Graph

2116 Commits

Author SHA1 Message Date
360f26c13d Merge branch 'master' into scroll-to-20 2021-01-22 19:58:36 +01:00
f3192877fe Update outdated comment 2021-01-22 19:48:33 +01:00
61fcb486a8 Trim unnecessary parentheses 2021-01-22 19:47:38 +01:00
a5f7ca485b Fix unintended xmldoc tag edit 2021-01-22 16:53:31 +09:00
bfabb1fdea Change offset value to 10% 2021-01-22 16:50:22 +09:00
65b7075984 Limit the effect of parallax when outside the bounds of the ParallaxContainer
This fixes the visual issues that still remain when mouse confining
fails. I think it also feels more correct in general.
2021-01-22 15:43:19 +09:00
8853ac04d9 Rename some variable and add xmldoc for scroll centre position 2021-01-21 15:08:36 +09:00
c650cbd2a7 Rename variable to something slightly better 2021-01-21 15:01:23 +09:00
9daf29fedc Extract out commonly used variables 2021-01-21 15:01:23 +09:00
a85f952a38 Inline single use function 2021-01-21 15:01:23 +09:00
e5eec27e95 Simplify selected section resolution 2021-01-21 15:01:23 +09:00
6d167b7865 Remove the need to store the smallest section 2021-01-21 14:40:55 +09:00
555abcdc36 Replace nan usage with nullable float 2021-01-21 14:31:31 +09:00
8f9089d1ae Move constant to a better place 2021-01-21 14:30:22 +09:00
0fcf61d352 Replace null check with assert 2021-01-21 14:29:49 +09:00
7c4a072568 Merge branch 'master' into scroll-to-20 2021-01-21 13:48:26 +09:00
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