Commit Graph

2236 Commits

Author SHA1 Message Date
4e2ab0bad2 Use a separate sample set for Toolbar buttons 2021-02-10 17:48:36 +09:00
73ab1b2b21 Add pitch randomisation to HoverSounds on-hover sample playback 2021-02-10 17:42:24 +09:00
806324b196 Allow overriding of Overlay pop-in and pop-out samples 2021-02-10 15:44:05 +09:00
4bc324f040 Rename parameter to make more sense 2021-02-05 15:29:32 +09:00
9e9e382bee Merge branch 'master' into user-beatmap-downloading-states-2 2021-02-05 15:27:17 +09:00
4e530d2eaf Remove old alpha hack from nub fill 2021-02-04 13:05:37 -08:00
794f9e5e93 Add missing centre anchor/origin 2021-02-04 22:53:41 +09:00
b32e10514d Fix padding on label text not being double-applied (meaning no padding between nub and text) 2021-02-04 16:58:02 +09:00
3148bbda2a Allow custom font to be used in OsuCheckbox 2021-02-04 16:54:17 +09:00
b2f1e133f8 Allow checkbox nub to be moved to the left 2021-02-04 16:53:55 +09:00
cb87da2bb8 Merge branch 'master' into freemod-select-overlay 2021-02-03 22:19:35 +01:00
fe7f4f7222 Merge branch 'master' into playlists-item-visual-improvements 2021-02-02 21:26:16 +01:00
5a56e2ba4b Fix sound duplication due to checkbox 2021-02-02 21:29:00 +09:00
41593ff09e Privatise protected property setters 2021-02-02 19:14:44 +09:00
fb52ac8c69 Share remove from playlist button design with adjacent download button 2021-02-02 16:57:08 +09:00
bb0753f68d Use a better method of cancelling user scroll 2021-02-02 15:44:03 +09:00
ed63b571d2 Add "new" override for ScrollToEnd To UserTrackingScrollContainer 2021-02-02 15:16:28 +09:00
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
8ffbcc9860 Fix test failures and general discrepancies 2021-01-20 14:05:35 +09:00
de9d075f94 Initial sample + samplechannel rework 2021-01-19 17:11:40 +09:00
bd44bf8c0b Extract disabling progress bar user-interactivity 2021-01-18 10:51:39 +03: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