Commit Graph

59 Commits

Author SHA1 Message Date
8746ef0ba9 Avoid double playback of sample 2021-07-08 20:36:25 +09:00
93eb385dd4 Add sound for switching between volume controls 2021-07-08 20:01:39 +09:00
7d405f04fb Fix selected volume control not updating correctly on mouse move 2021-07-07 21:17:31 +09:00
cbe4114e90 Adjust visuals and make base opacity 100% 2021-07-07 21:07:00 +09:00
c5a0672277 Use IStateful<SelectionState> instead of ISelected 2021-07-06 12:07:25 +02:00
d495196b66 Share item cycling logic with GameplayMenuOverlay 2021-07-05 19:22:55 +02:00
3fe875efb2 Add glow to focused meter 2021-07-05 16:38:52 +02:00
0527f669cb Merge branch 'master' into volume-meter-switch 2021-07-04 17:48:26 +02:00
69803105ef Fix volume meter requesting focus for any action 2021-07-04 17:19:44 +02:00
50c9e17e52 Return focus when using UP/DOWN on unfocused meter 2021-07-04 15:42:26 +02:00
e151c7ffd0 Let VolumeMeter request focus instead of taking it 2021-07-04 15:35:04 +02:00
d1553f0864 Implement ability to switch between volume meters 2021-07-04 14:47:07 +02:00
149a200f34 Fix volume metre not correctly showing volume when initially zero
Closes https://github.com/ppy/osu/issues/13761.
2021-07-04 14:56:17 +09:00
35f7966922 Merge conditionals in line with other case of same logic 2021-07-02 15:55:36 +09:00
910fe3e9f8 Center pitch randomisation around base pitch 2021-07-02 15:51:23 +09:00
bd6664d541 Add note about intentional downward pitch, against expectations 2021-07-02 15:48:16 +09:00
13254d51fc Remove usage of bool for initial playback
Also refactors the whole method to generally clean things up. One more
important fix is setting the frequency on the channel before starting
playback, so avoid the frequency potentially being adjusted after the
playback is already started.
2021-07-02 15:48:13 +09:00
69b1347730 Tidy up weird bind logic 2021-07-02 15:29:51 +09:00
68c5e6a431 Add audio feedback to changing volume 2021-07-01 20:55:04 +09:00
ab6239fd5f change math for displaying volume "MAX" 2021-05-10 00:51:58 +02:00
af79ad537c Avoid unnecessary debounce triggers on zero-delta scrolls 2021-04-19 00:05:44 +09:00
6f3158e8c8 Increase multiplier to 1.8 2021-04-15 23:24:13 +09:00
89ce8f290f Add simple acceleration to volume metre adjustments 2021-04-14 12:55:06 +09:00
de52b8a5ba Fix test failures in PerformFromScreen tests 2021-02-15 17:14:41 +09:00
81191a3d20 Handle SelectPrevious/SelectNext locally to volume meter when hovered 2020-03-02 18:59:55 +09:00
91735ff367 Update MathUtils namespace usages 2020-01-09 13:43:44 +09:00
d61dfe888e Fix venera fonts not being correctly specified 2019-02-22 19:42:09 +09:00
3015d40f8f Merge branch 'master' into osu-fontusage 2019-02-22 18:09:23 +09:00
3fe4b8fd1c Update variable names
Also cleans up some weird code
2019-02-22 17:51:39 +09:00
d8c55bc729 Adjust namespaces 2019-02-21 19:05:52 +09:00
bca347427f Update with framework bindable changes 2019-02-21 18:56:34 +09:00
a2aa3ec5cb Adjust sprite texts in-line with framework changes 2019-02-20 15:03:20 +09:00
8617aaa2a7 Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
6647fcd299 Fix volume adjustment precision regressing 2018-11-27 18:05:38 +09:00
10047e6815 Adjust tick-based wheel control to be more correct 2018-11-22 20:13:40 +09:00
f27bd3ef3e OpenTK -> osuTK 2018-11-20 17:14:59 +09:00
50091252e2 Adapt signature change of event handlers 2018-10-02 12:02:55 +09:00
99fc04c8af Change signature to new event handler 2018-10-02 12:02:47 +09:00
0f37758314 Update framework 2018-07-21 16:21:53 +09:00
1ed6a672f2 Update volme control
Use IMouseWheelBindingHandler for volume VolumeControlReceptor.
VolumeMeter is no longer an IKeyBindingHandler because it is unused.
2018-06-27 18:43:29 +09:00
65487d1610 Merge branch 'master' into improve-volume-controls 2018-06-21 11:56:56 +09:00
b318b770d4 Fix pixellation of volume meter progress bars 2018-06-13 19:22:39 +09:00
cee5be1d56 Improve precision wheel adjustment handling 2018-06-13 17:03:56 +09:00
a55bf82fd9 Handle hover blocking in VolumeOverlay to ensure correct hide scheduling 2018-06-13 16:46:56 +09:00
2a18625b2c Correctly block scroll events when hovering controls 2018-06-13 16:46:27 +09:00
2cc7953421 Merge remote-tracking branch 'upstream/master' into peppy-improve-volume-controls 2018-06-13 16:14:20 +09:00
59e5a8556f Fix volume control adjustment being extreme when precision scrolling 2018-06-08 18:15:03 +09:00
dd75cd973b Show UI mouse cursor when hovering volume meters during gameplay
Also adds a hover animation.
2018-06-07 01:13:35 +09:00
32a74f95a5 Normalize all the line endings 2018-04-13 18:26:38 +09:00
52fa837447 Fix volume glow being cut off
Fixes #2285.
2018-03-23 18:17:23 +09:00