Dean Herbert
e098cac1cf
Minor code reformatting / moving
2021-06-11 23:49:14 +09:00
Dean Herbert
5887b4a27c
Update stand-alone usage of hover/select sounds in DrawableOsuMenuItem
2021-06-11 23:46:42 +09:00
Jamie Taylor
0b95d07390
Change 'default' hover/click samples into 'button' samples and make 'soft' the new 'default'
2021-06-11 20:47:57 +09:00
Jamie Taylor
4f80a3b66d
Add fallback-to-default logic for HoverSounds and HoverClickSounds
2021-06-11 20:14:35 +09:00
Jamie Taylor
15d3b4444d
Rename HoverSounds
and HoverClickSounds
samples
2021-06-11 19:34:54 +09:00
Dean Herbert
b0a113a36b
Merge branch 'master' into localisation-proof-of-concept
2021-05-21 17:57:54 +09:00
Dean Herbert
0f4b502fdf
Add missing xmldoc
2021-05-20 20:09:22 +09:00
Dean Herbert
df5970fab4
Create base implementations of the two most common TernaryStateMenuItem
s
2021-05-20 19:34:53 +09:00
Dean Herbert
1bb3c609ae
Centralise implementation of cancel button logic
2021-05-11 18:39:14 +09:00
Dean Herbert
a2e4fb5b6b
Update ScoreCounter
components to bind outwards
2021-05-07 16:16:48 +09:00
Dean Herbert
db524e2395
Add localisation support to DialogButton's text
2021-04-20 17:06:12 +09:00
Joseph Madamba
89940e7bb9
Fix download button check icon not scaling on mouse down
2021-04-18 19:05:33 -07:00
Dean Herbert
dfe3240b45
Merge pull request #12353 from nekodex/songselect-hoversamples
...
Add a hover sample type for SongSelect buttons
2021-04-10 01:45:47 +09:00
Jamie Taylor
ffacd38e57
Reduce the randomised pitch range of hover sounds
2021-04-09 23:03:14 +09:00
Jamie Taylor
8a0da06e89
Add a hover sample type for SongSelect buttons
2021-04-09 23:00:40 +09:00
Dean Herbert
8004652d27
Merge branch 'master' into optimised-has-flag-checks
2021-02-25 21:24:39 +09:00
smoogipoo
dff1d80f39
Update HasFlag usages to HasFlagFast
2021-02-25 15:38:56 +09:00
Dean Herbert
a362382d38
Add back more correct null checks
2021-02-25 14:06:21 +09:00
Dean Herbert
1fd76ea3fb
Apply changes to UI components overriding functions with changing signatures
2021-02-22 19:01:42 +09:00
smoogipoo
d3f0c0730d
Merge branch 'master' into non-concurrent-sample-playback
2021-02-12 17:22:15 +09:00
Dean Herbert
a2035a2e84
Stop hover sounds from playing when dragging (scrolling)
2021-02-12 12:22:35 +09:00
Dean Herbert
970039b7e3
Split out hover sample debounce logic so it can be more easily used in other places
2021-02-12 12:14:49 +09:00
Dean Herbert
3990738dbb
Merge pull request #11734 from nekodex/fix-checkbox-sound
...
Prevent the default on-click sample from playing for OsuCheckbox
2021-02-11 16:02:37 +09:00
Jamie Taylor
c8899aff92
Prevent the default on-click sample from playing for OsuCheckbox
2021-02-11 14:36:41 +09:00
Dean Herbert
26c9a60b0d
Merge branch 'hover-pitch-randomisation' into update-resources
2021-02-11 14:20:22 +09:00
Dean Herbert
625eb78a11
Simplify with an early exit for null sample
2021-02-10 17:59:52 +09:00
Jamie Taylor
4e2ab0bad2
Use a separate sample set for Toolbar buttons
2021-02-10 17:48:36 +09:00
Jamie Taylor
73ab1b2b21
Add pitch randomisation to HoverSounds on-hover sample playback
2021-02-10 17:42:24 +09:00
Dean Herbert
4bc324f040
Rename parameter to make more sense
2021-02-05 15:29:32 +09:00
Dean Herbert
9e9e382bee
Merge branch 'master' into user-beatmap-downloading-states-2
2021-02-05 15:27:17 +09:00
Joehu
4e530d2eaf
Remove old alpha hack from nub fill
2021-02-04 13:05:37 -08:00
Dean Herbert
794f9e5e93
Add missing centre anchor/origin
2021-02-04 22:53:41 +09:00
Dean Herbert
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
Dean Herbert
3148bbda2a
Allow custom font to be used in OsuCheckbox
2021-02-04 16:54:17 +09:00
Dean Herbert
b2f1e133f8
Allow checkbox nub to be moved to the left
2021-02-04 16:53:55 +09:00
Bartłomiej Dach
cb87da2bb8
Merge branch 'master' into freemod-select-overlay
2021-02-03 22:19:35 +01:00
smoogipoo
5a56e2ba4b
Fix sound duplication due to checkbox
2021-02-02 21:29:00 +09:00
Dean Herbert
41593ff09e
Privatise protected property setters
2021-02-02 19:14:44 +09:00
Dean Herbert
fb52ac8c69
Share remove from playlist button design with adjacent download button
2021-02-02 16:57:08 +09:00
smoogipoo
8ffbcc9860
Fix test failures and general discrepancies
2021-01-20 14:05:35 +09:00
smoogipoo
de9d075f94
Initial sample + samplechannel rework
2021-01-19 17:11:40 +09:00
Salman Ahmed
bd44bf8c0b
Extract disabling progress bar user-interactivity
2021-01-18 10:51:39 +03:00
Salman Ahmed
1f12b2bd09
Rename download state Downloaded
to Importing
2021-01-13 18:04:53 +03:00
Bartłomiej Dach
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
Dean Herbert
e156bcdcae
Remove unnecessary (and broken) requiresDebounce check
2021-01-08 14:05:34 +09:00
Dean Herbert
11801d61c1
Use nullable doubule to better represent initial playback case
2021-01-08 14:05:22 +09:00
Dean Herbert
8f52a83b29
Share hover sound debounce across all instances via SessionStatics
2021-01-07 18:47:20 +09:00
Dean Herbert
6620eadec3
Reduce default hover sound debounce interval
2021-01-07 18:47:03 +09:00
Bartłomiej Dach
0880e76da8
Mark background dim layer as possibly-null
2021-01-05 22:56:53 +01:00
Bartłomiej Dach
ac1d6d4444
Make auto-property get-only
2021-01-05 22:56:53 +01:00
Dean Herbert
0639429a23
Fix test (and remove no longer valid test)
2021-01-05 18:10:39 +09:00
Dean Herbert
0b1ee2e267
Remove unused dispose logic
2021-01-05 17:42:19 +09:00
Dean Herbert
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
smoogipoo
10c1823534
Remove now unused files
2020-12-07 22:07:11 +09:00
Bartłomiej Dach
a3afd88387
Use Interpolation.Lerp
2020-11-28 20:35:03 +01:00
Endrik Tombak
8ad4cf73f5
Scale stars from 0.4 to 1
2020-11-28 17:09:43 +02:00
Bartłomiej Dach
5701b32bae
Handle constant graphs better
2020-11-23 22:12:32 +01:00
Bartłomiej Dach
58c9e57a68
Fix comment
2020-10-21 17:17:23 +02:00
Dean Herbert
22112e4303
Fix ISourcedFromTouch events being blocked by LoadingLayer
2020-10-21 23:11:51 +09:00
Dean Herbert
cb1784a846
Fix score displays using non-matching zero padding depending on user score display mode
2020-10-19 14:05:28 +09:00
Dean Herbert
254eba9008
Add and consume skinnable accuracy counter
2020-10-15 17:53:16 +09:00
Dean Herbert
219cbec6bd
Split out DefaultScoreCounter and make ScoreCounter abstract
2020-10-15 16:32:30 +09:00
Dean Herbert
2fce064e32
Add basic legacy combo counter and updating positioning logic
2020-10-14 19:16:34 +09:00
Dean Herbert
899bac6ca5
Rename catch combo counter for clarity
2020-10-14 19:16:34 +09:00
Dean Herbert
f5623ee21e
Setup skinnable combo counter component with default implementation
2020-10-14 19:16:34 +09:00
Joehu
393ee1c9f5
Fix hovered osu tab items not showing hover state when deselected
2020-09-17 23:09:09 -07:00
Dean Herbert
af412947b2
Merge branch 'master' into collection-database
2020-09-09 22:59:46 +09:00
smoogipoo
12188ec3c9
Fix broken RollingCounter current value
2020-09-09 20:51:56 +09:00
Dean Herbert
66d3bda962
Merge branch 'master' into collection-database
2020-09-08 23:18:47 +09:00
Dean Herbert
2b4e2d8ed6
Standardise corner radius of dropdowns
2020-09-08 19:04:46 +09:00
smoogipoo
ae022d7559
Show all items in dropdown, set global max height
2020-09-08 18:55:53 +09:00
smoogipoo
6862571672
Fix IconButton sometimes not recolourising
2020-09-02 22:02:57 +09:00
Dean Herbert
a171d0e292
Remove unused methods and classes
2020-08-31 18:14:22 +09:00
Dean Herbert
8b7446c43f
Fix RollingCounter not updating initial value if changed before loaded
2020-08-31 18:13:51 +09:00
Dean Herbert
5714c761eb
Merge pull request #9768 from frenzibyte/allow-counter-customize-sprite-text
...
Allow providing custom sprite text for RollingCounter<T>
2020-08-20 00:14:48 +09:00
Dean Herbert
1badc584f6
Update textbox event names
2020-08-19 22:10:58 +09:00
Salman Ahmed
5759ffff6f
Use the property instead of the backing field
2020-08-19 07:45:05 +03:00
Salman Ahmed
8f1a71c6b1
Remove counter sprite attributes for not being of any reasonable use
2020-08-19 07:44:45 +03:00
Salman Ahmed
9d10658e3c
Allow providing custom sprite text for RollingCounter<T>
2020-08-03 20:14:17 +03:00
Dean Herbert
e5991d6e14
Change method structure for hover/unhover state setting (shouldn't be called "Fade")
2020-07-30 13:49:04 +09:00
Andrei Zavatski
d4496eb982
Update ShowMoreButton in line with web
2020-07-30 04:51:09 +03:00
Joehu
f71ed47e66
Fix focused textbox absorbing input when unfocused
2020-07-20 11:52:02 -07:00
Joehu
681f001525
Convert icon to local variable
2020-07-11 19:19:34 -07:00
Joehu
4d7dc9f5eb
Fix color and underline of tab control checkboxes when initially checked
2020-07-11 18:27:47 -07:00
Dean Herbert
840380e0de
Fix LocallyAvailable state case getting cleared
2020-07-10 20:30:59 +09:00
Dean Herbert
c7b5c5aef4
Add tooltips to beatmap download button
2020-07-10 20:22:51 +09:00
Dean Herbert
f699a34c77
Rename variable for potential future expansion
2020-07-10 18:19:18 +09:00
Dean Herbert
664ab6d5f6
Merge branch 'master' into add-textbox-samples-and-fix-distingushing-passwords
2020-07-10 17:14:46 +09:00
Dean Herbert
bbbe8d6f68
Remove group selector for now, tidy up code somewhat
2020-07-09 13:47:11 +09:00
smoogipoo
cb69d1a865
Fix crash when changing tabs in changelog
2020-07-03 16:47:34 +09:00
Dean Herbert
14ad3835ff
Update naming
2020-06-23 21:27:01 +09:00
Dean Herbert
91b6979c97
Fix LoadingSpinner not always playing fade in animation
2020-06-12 13:38:20 +09:00
Salman Ahmed
178bbf16d1
Fix password text boxes having distinguishable key sounds
...
Closes https://github.com/ppy/osu-framework/issues/3280
2020-06-05 06:44:41 +03:00
Salman Ahmed
c6c88a901c
Add text box sample playback logic in OsuTextBox
...
Moved from osu!framework.
2020-06-05 06:43:44 +03:00
Dean Herbert
3487c1fd1b
Add menus to mark as rim and strong
2020-05-29 16:45:47 +09:00
Dean Herbert
11537dd688
Merge branch 'master' into tourney-subscreen-back-button
2020-05-17 17:38:36 +09:00
Dean Herbert
13d4997c91
Remove custom back action logic (use receptor as intended)
2020-05-17 17:35:10 +09:00
smoogipoo
9e2be6f2f4
Remove bindable to promote one-way access
2020-04-16 13:25:08 +09:00
smoogipoo
102c1d9095
Add disabled state to menu items
2020-04-15 16:17:17 +09:00
TheWildTree
e33055e2c4
Simplify active tab font changes and expose necessary fields in OsuTabItem
2020-03-26 14:19:36 +01:00