Commit Graph

2256 Commits

Author SHA1 Message Date
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
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
79a1d7b2b3 simplify CreateEmphasisedSpriteText 2021-05-07 14:40:01 +07:00
17b8963cf8 simplify CreateSpriteText in markdown table cell 2021-05-07 14:38:19 +07:00
3524cb7924 simplify CreateSpriteText in markdown heading 2021-05-07 14:36:35 +07:00
01eff7f316 Merge branch 'skin-components-bind-outwards' into skin-components-bind-outwards-score-display 2021-05-07 16:30:08 +09:00
a2e4fb5b6b Update ScoreCounter components to bind outwards 2021-05-07 16:16:48 +09:00
5b003750f8 change CreateListItem method in OsuMarkdownContainer 2021-05-07 13:20:48 +07:00
9233248a0b add OsuMarkdownUnorderedListItem 2021-05-07 13:20:20 +07:00
dfcf760b7b add OsuMarkdownOrderedListItem 2021-05-07 13:20:06 +07:00
bdfe44ddca change OsuMarkdownListItem to abstract class 2021-05-07 13:19:30 +07:00
92022f2cba add Separator component in OsuMarkdownSeparator 2021-05-06 17:17:14 +07:00
7b43730fe6 add QuoteBackground in OsuMarkdownQuoteBlock 2021-05-06 17:13:46 +07:00
010f625870 use derived component in OsuMarkdownFencedCodeBlock 2021-05-06 17:05:41 +07:00
67f51959db Merge branch 'master' into osu-markdown 2021-05-06 16:23:20 +07:00
ba634cbf11 change line spacing to 21
We use margin bottom in osu-web markdown paragraph[1] as reference for
this line spacing value.

The value from osu-web itself is 1.5em[2]. Because the base font size of
the paragraph is 14px[3][4], the actual value is 14 * 1.5 = 21px

[1] 376cac43a0/resources/assets/less/bem/osu-md.less (L230)
[2] 376cac43a0/resources/assets/less/variables.less (L58)
[3] 376cac43a0/resources/assets/less/bem/osu-md.less (L9)
[4] 376cac43a0/resources/assets/less/variables.less (L161)
2021-05-06 15:15:50 +07:00
e7c563fb67 simplify CreateTextFlow in quote block 2021-05-06 15:11:45 +07:00
b6560a616a add comment for base font size heading 2021-05-06 15:00:12 +07:00
0d3ca8dde1 change font weight of table header 2021-05-06 08:43:38 +07:00
550e6c0fbb change quote block margin padding to use vertical and horizontal 2021-05-06 08:28:37 +07:00
cfd28c51bb change block quote backgroudn width
Reference : 376cac43a0/resources/assets/less/base.less (L7-L10)
2021-05-06 08:28:37 +07:00
4567abe3db add xmldoc for GetTextMarker 2021-05-06 08:28:37 +07:00
9bb80492c5 add level and isOrdered parameter 2021-05-06 05:29:29 +07:00
99e0cc9bbe rename CreateTextMarker to GetTextMarker 2021-05-06 05:15:32 +07:00
3ddf551b03 remove unused this 2021-05-06 05:13:54 +07:00
266d8d8282 move list item constant position 2021-05-06 05:13:39 +07:00