Commit Graph

2280 Commits

Author SHA1 Message Date
e098cac1cf Minor code reformatting / moving 2021-06-11 23:49:14 +09:00
5887b4a27c Update stand-alone usage of hover/select sounds in DrawableOsuMenuItem 2021-06-11 23:46:42 +09:00
0b95d07390 Change 'default' hover/click samples into 'button' samples and make 'soft' the new 'default' 2021-06-11 20:47:57 +09:00
4f80a3b66d Add fallback-to-default logic for HoverSounds and HoverClickSounds 2021-06-11 20:14:35 +09:00
15d3b4444d Rename HoverSounds and HoverClickSounds samples 2021-06-11 19:34:54 +09:00
417aaacc53 Add test coverage for romanised data transfer 2021-06-10 22:18:39 +02:00
e41a5a0fcd Add romanised author & title fields 2021-06-10 22:17:45 +02:00
9a3ca09501 Merge pull request #13384 from bdach/fixed-label-width
Align label widths of editor setup screen controls
2021-06-10 14:55:49 +09:00
28d7b06908 create OsuMarkdownImage 2021-06-10 09:38:07 +07:00
023015f9a6 Merge branch 'master' into fix-skin-background-regression 2021-06-09 08:09:21 +02:00
f41e34ae2c Remove more obsoleted members 2021-06-09 14:10:48 +09:00
97204b6f27 Reduce unnecessary background changes via IEquatable implementation 2021-06-08 22:37:18 +02:00
5bf4dd6358 Move skin background to separate file 2021-06-08 21:57:08 +02:00
88266eac63 Add option to fix label width of a LabelledDrawable 2021-06-08 16:57:32 +02:00
e8d4147773 Add missing null handling for never Markdig version 2021-06-07 16:08:44 +09:00
840f084dc4 Merge pull request #13303 from LeNitrous/mainmenu-storyboard-backgrounds
Add storyboards as a main menu background source
2021-06-04 19:50:40 +09:00
19a44d65c5 Tidy up code 2021-06-04 15:18:16 +09:00
996c156106 apply suggestions
- apply 0 alpha to beatmap background if storyboard replaces it
- use an AudioContainer to mute all samples coming from the storyboard
2021-06-04 13:56:10 +08:00
d7d0dde5d2 use created storyboard to check for drawables instead 2021-06-03 13:56:14 +08:00
62b07fb9ce apply suggestions
- Replace the sprite with a solid black box when a storyboard requests it.
- Create a new storyboard instance and exclude the fail layer as well as strip all samples from it
- Do not attempt in creating the storyboard when it isn't needed
2021-06-03 13:27:00 +08:00
d00fb21188 prevent scaling container from creating a storyboard background 2021-06-03 13:24:21 +08:00
a62dd7cca0 Revert "refactor BeatmapBackgroundWithStoryboard to reduce overhead"
This reverts commit 277545bb06.
2021-06-03 12:33:16 +09:00
277545bb06 refactor BeatmapBackgroundWithStoryboard to reduce overhead
This avoids loading the sprite if its not needed and instead of hiding it, it is removed when the storyboard replaces the background or there is a video.

This also only initializes DrawableStoryboard if there are any elements in any layer.
2021-06-02 20:27:12 +08:00
3c3ef13632 remove fade 2021-06-02 16:28:22 +08:00
e66f6e8f91 fix inspect code issues and cleanup code 2021-06-02 16:12:41 +08:00
dec18ef826 implement BeatmapBackgroundWithStoryboard 2021-06-02 15:50:58 +08:00
47019196f6 Merge branch 'master' into fix-relative-link-resolution 2021-06-02 14:55:38 +09:00
ac761bb075 Use string.Empty instead of arbitrary string 2021-06-02 14:43:35 +09:00
3668f1861f Fix one more null issue 2021-06-01 17:10:09 +09:00
145e42928b Fix remaining null checks 2021-06-01 16:49:05 +09:00
b4dd935538 add corner radius and padding 2021-06-01 14:14:12 +07:00
5108dadfbc use inline code in markdown text flow 2021-06-01 14:03:57 +07:00
1babb05fc7 add OsuMarkdownInlineCode 2021-06-01 14:03:31 +07:00
3ff97f787a Localise all URL generation for now to avoid weird Schedule logic 2021-06-01 13:56:59 +09:00
e02739a136 remove unused colour provider 2021-05-26 13:57:35 +07:00
04f16c0783 Set DocumentUrl inside CreateChildDependencies
Co-authored-by: Dean Herbert <pe@ppy.sh>
2021-05-26 13:55:16 +07:00
200592114f Make protected variables private 2021-05-26 14:13:02 +09:00
728258d93a add website root url as document url 2021-05-25 00:29:59 +07:00
02cdd0b2de use drawable link compiler in markdown link 2021-05-24 19:10:37 +07:00
b0a113a36b Merge branch 'master' into localisation-proof-of-concept 2021-05-21 17:57:54 +09:00
0f4b502fdf Add missing xmldoc 2021-05-20 20:09:22 +09:00
df5970fab4 Create base implementations of the two most common TernaryStateMenuItems 2021-05-20 19:34:53 +09:00
ce7c503e6e Merge branch 'master' into playlist-unicode 2021-05-17 11:47:10 +09:00
1bb3c609ae Centralise implementation of cancel button logic 2021-05-11 18:39:14 +09:00
bca5bee72e remove duplicate CreateSpriteText in OsuMarkdownTextFlowContainer 2021-05-10 19:28:32 +07:00
e7355da201 Merge branch 'master' into osu-markdown 2021-05-10 20:02:04 +09:00
cd25d76dbe Merge branch 'master' into localisation-proof-of-concept 2021-05-08 18:11:07 +09:00
22677cfeaf add CreateBorder method in markdown table cell 2021-05-07 14:54:46 +07:00
d92e593ddd extract out table head and body border into separate component 2021-05-07 14:47:46 +07:00
64e9c5e9ba add return xmldoc in markdown unordered list 2021-05-07 14:41:27 +07:00