Commit Graph

966 Commits

Author SHA1 Message Date
03bd7ca8e7 Implement RankingsScopeSelector 2019-09-10 04:20:32 +03:00
65869c7ebb Refactor LeaderboardScopeSelector for more extensibility 2019-09-10 04:04:37 +03:00
4c563232d6 HoverClickSounds should handle click event instead of MouseUp 2019-09-04 11:37:19 +09:00
53fe290ef3 Merge branch 'master' into back-button-part-2 2019-09-03 19:44:30 +09:00
e98059267d Improve xmldoc 2019-09-03 19:21:24 +09:00
299d528654 Simplify implementation 2019-09-03 19:20:23 +09:00
53c254c6a5 Replace Array.IndexOf() with Contains() 2019-09-02 19:01:36 +02:00
fc48b190fe Fix inaccurate xmldoc 2019-09-01 13:32:53 +02:00
c4dc34eefd Consolidate HoverClickSounds constructors
As suggested in review, merge both HoverClickSounds constructors into
one accepting optional arguments. Due to existing usages the parameter
is added as second and supplied by name in ModButton.
2019-09-01 13:10:11 +02:00
658e0edc3e Handle other button clicks in HoverClickSounds
As suggested in review, remove previously introduced HoverMouseUpSounds
and instead change effect playing logic in HoverClickSounds by moving it
out of OnClick() to OnMouseUp().

Users of the class can either use the existing constructor to play
the effect only on left click or use the newly introduced constructor
with the MouseButton[] parameter to specify which button clicks should
trigger the sound.
2019-08-31 20:16:16 +02:00
a1c72db5f6 Fix inconsistent sound effects on mod buttons
Because HoverClickSounds.OnClick() does not fire upon right clicking
on mod buttons, the sound effects that play on left and right click
were inconsistent. Introduce HoverMouseUpSounds drawable that allows
to play the click sound effect upon mouse up events for an arbitrary
set of mouse buttons and use it on mod buttons.
2019-08-31 17:01:12 +02:00
fd26ef739a Merge remote-tracking branch 'upstream/master' into back-button-part-2 2019-08-21 15:23:54 +09:00
48716f8f2b Update framework 2019-08-21 13:29:50 +09:00
f7a92487ef Fix checkbox sounds playing too often 2019-08-15 14:09:30 +09:00
4a28bdd384 Merge remote-tracking branch 'upstream/master' into back-button-part-2 2019-08-13 12:26:12 +09:00
c0f0fbbaa9 Rename variable and add xmldoc 2019-08-13 00:14:37 +09:00
9c36cb4af4 Use existing AccentColour logic instead of weird BoxColour 2019-08-12 14:33:30 +03:00
fc521ac93b Expose BoxColour property 2019-08-12 13:08:15 +03:00
144d41f143 Add ability to not add all the items if enum 2019-08-12 12:33:01 +03:00
684c37bf05 Rename class to better match usage 2019-08-11 16:19:40 +09:00
d55f9404da Fix CI issues 2019-08-10 14:23:37 +02:00
8eb3409a64 Add missing licence header 2019-08-10 14:03:44 +02:00
b0a7177987 Add ScreenTitleIcon class, used for displaying custom specific icons on overlays. 2019-08-10 13:26:19 +02:00
90b1fe81f3 Update cached usage in line with framework changes 2019-08-09 19:12:29 +09:00
7e9c100c9b Apply new resharper refactors 2019-08-09 12:29:33 +09:00
6ed9c983ff Rename shear variable 2019-08-07 12:36:00 +09:00
11aa3544c4 Fix shear width naming 2019-08-05 20:57:17 -07:00
ee6a90c48d Fix back button hover sounds playing in unclickable area 2019-08-05 20:43:30 -07:00
fd44ca3233 Rename Animation to Layer 2019-08-04 13:54:23 +03:00
a30d7912b1 Move DimmedLoadingAnimation to it's own file 2019-08-04 11:09:12 +03:00
b244b2fe3d Add hover click sounds to leaderboard mod filter 2019-08-02 21:13:29 -07:00
6d1203a599 Move screen pushes into function, rename receptor 2019-07-30 12:00:04 +09:00
e8c039bb8a Use a receptor model instead 2019-07-29 18:45:16 +09:00
9ef858806b Fix existing usage of Path 2019-07-26 17:48:19 +09:00
3b0a482743 Fix font weight of leaderboard mod filter 2019-07-25 23:10:00 -07:00
e81ef4bf33 Rewrite comment 2019-07-23 16:44:19 +09:00
4d8e2a78d1 update with new framework changes and update comment 2019-07-23 15:31:09 +09:00
e628e44d8e update comment 2019-07-23 13:25:03 +09:00
b95a598338 don't check for shift 2019-07-16 15:12:01 +09:00
e789bb37c8 Ignore shift-delete in SearchTextBox 2019-07-16 14:55:41 +09:00
38dceddc27 Fix file ordering 2019-07-05 10:07:45 +09:00
ae7da2557e Fix initial colour of leaderboard mod filter 2019-07-04 13:24:13 -07:00
23acddcb56 Rename download buttons to avoid ambiguity 2019-07-03 12:02:35 +09:00
ee516d2515 Make direct panel download and replay buttons share UI 2019-07-02 15:55:30 +05:30
23df1a5d42 Merge remote-tracking branch 'HollyHacker/master' into abstract-menu 2019-06-28 13:42:56 +09:00
7d5554c2ac Re-use the back button game-wide (#5149)
Re-use the back button game-wide

Co-authored-by: Dean Herbert <pe@ppy.sh>
2019-06-25 20:50:28 +09:00
f51be4c4fe Adjust transitions a tad 2019-06-25 20:23:34 +09:00
75b78d5e27 Reduce size of dropdown chevron (#5150)
Reduce size of dropdown chevron

Co-authored-by: Dan Balasescu <1329837+smoogipoo@users.noreply.github.com>
2019-06-25 20:05:52 +09:00
a3de369c20 Reduce size of dropdown chevron 2019-06-25 19:32:00 +09:00
8c02709d74 Merge branch 'master' into fix-dropdown-styling 2019-06-25 19:28:37 +09:00