Commit Graph

39690 Commits

Author SHA1 Message Date
137be5dc97 Use equality operator instead of null coalescing
Co-Authored-By: Salman Ahmed <frenzibyte@gmail.com>
2021-05-01 14:14:07 -07:00
05e18e3ee3 Merge pull request #12558 from JustusFT/justusft/mania-color-snap
Add snap color option for osu!mania
2021-05-01 23:52:54 +09:00
a551958eeb Move caching of IBeatmap to base DrawableRuleset 2021-05-01 21:32:45 +09:00
db815f7930 Tidy up implementation in DrawableNote 2021-05-01 20:39:10 +09:00
0b06c5bcb1 Remove unneeded test data 2021-05-01 15:00:18 +08:00
0d077b7a5d Fix GetClosestBeatDivisor returning the wrong divisor 2021-05-01 14:13:42 +08:00
fdf8c12947 Replace BeatDivisorFinder with GetClosestBeatDivisor 2021-05-01 11:57:47 +08:00
ecb053b0de Merge branch 'master' of https://github.com/ppy/osu into justusft/mania-color-snap 2021-05-01 11:20:28 +08:00
cbc7753f23 Merge pull request #12564 from Joehuu/fix-beatmap-info-download-button-content-scaling
Fix beatmap info download button content not scaling on mouse down
2021-05-01 10:43:59 +09:00
bb6f28d76b Merge pull request #12632 from EVAST9919/barrel-roll 2021-04-30 23:03:56 +02:00
9cb55ca245 Merge branch 'master' into barrel-roll 2021-04-30 22:27:27 +02:00
0d1a89cb60 Merge pull request #12634 from peppy/remove-unused-triangles 2021-04-30 22:26:29 +02:00
eef135f8dc Merge branch 'master' into remove-unused-triangles 2021-04-30 21:51:23 +02:00
786ab163f6 Rename extension and move to bottom of file 2021-04-30 12:40:16 -07:00
b145f46a0a Merge branch 'master' into skin-components-list 2021-04-30 21:10:55 +03:00
34a8a75f07 Merge pull request #12588 from Naxesss/basic-compose-checks
Add unsnapped and concurrent object checks
2021-05-01 00:20:02 +09:00
e6eea73b8b Merge branch 'master' into basic-compose-checks 2021-04-30 23:41:46 +09:00
64b244d0ba Merge branch 'master' into skin-bindables 2021-04-30 20:56:16 +09:00
872c52b35f Merge pull request #12625 from peppy/simpler-editor-move-events
Refactor `SelectionBlueprint` and `MoveSelectionEvent` to work in screen-space coordinates
2021-04-30 19:37:31 +09:00
c303043841 Merge branch 'master' into simpler-editor-move-events 2021-04-30 18:55:39 +09:00
5285b71ecb Merge pull request #12596 from peppy/abstract-blueprint-handling
Make editor blueprint/selection components abstract
2021-04-30 18:55:20 +09:00
e663629bc6 Match button appearance to that of the beatmap editor 2021-04-30 15:22:51 +09:00
e4f895b490 Fix editor buttons inheriting from TriangleButton when they have no need to 2021-04-30 14:48:37 +09:00
a1e64f4e3c Use the existing toolbox design 2021-04-30 14:41:06 +09:00
fc4fa4f696 use ListBlock IsOrdered to determine ordered or unordered list 2021-04-30 11:48:37 +07:00
11d0f12455 change create text marker to virtual 2021-04-30 11:36:51 +07:00
3681db491c add long mixed list test
Copied from https://github.com/ppy/osu-wiki/blob/master/wiki/Tournaments/OWC/2020/en.md#tournament-rules
2021-04-30 11:21:20 +07:00
bde72faa7c Limit components list height to better align with actual viewport 2021-04-30 13:10:42 +09:00
20ff05c9ff Fix crosstalk between notification/setting overlay nudge padding and skin overlay position adjust 2021-04-30 13:10:42 +09:00
8b82a07914 Move skin-related interfaces out of HUD namespace 2021-04-30 13:10:42 +09:00
5585a7d438 Add basic interfaces for skinnable target containers 2021-04-30 13:10:42 +09:00
ae9d1dc40b Add component list to main editor interface and enable basic placement 2021-04-30 13:10:42 +09:00
6442fb819f Split out component from test scene and fix SongProgress 2021-04-30 13:10:42 +09:00
4770a64709 Add proof of concept components list 2021-04-30 13:10:42 +09:00
cdef07b2ee Fix blueprints not hiding when deleting elements 2021-04-30 13:09:57 +09:00
cf53a05dfd change marker size and position for ordered list 2021-04-30 10:59:23 +07:00
e6579352f9 add left padding for ordered list
In osu-md.less, this rule style[1] removes padding left in ordered list.
But in this rule style[2], pseudo element `::before` is used as marker
or counter and has minimal width 30px. So we use this as left padding
size.

[1] 5b0e3ac3ff/resources/assets/less/bem/osu-md.less (L196-L200)
[2] 5b0e3ac3ff/resources/assets/less/bem/osu-md.less (L210-L219)
2021-04-30 10:56:41 +07:00
c0d9f9f8c6 use order number as marker for ordered list 2021-04-30 10:48:12 +07:00
2a3479f30d add order in OsuMarkdownListItem for ordered list 2021-04-30 10:47:51 +07:00
1582b0da88 add ordered list test 2021-04-30 10:43:19 +07:00
781064ba96 create list marker based on its level 2021-04-30 10:40:06 +07:00
f676526cf4 add level in OsuMarkdownListItem 2021-04-30 10:39:48 +07:00
e3cc4561ab add bullet marker in OsuMarkdownListItem 2021-04-30 10:35:40 +07:00
010c51e6ed change OsuMarkdownListItem to composite drawable 2021-04-30 10:12:43 +07:00
1e8b3f3a8c handle list padding in OsuMarkdownListItem
Reference : 5b0e3ac3ff/resources/assets/less/bem/osu-md.less (L193-L194)
2021-04-30 09:47:25 +07:00
a24a279404 use OsuMarkdownListItem for ListItemBlock 2021-04-30 09:43:21 +07:00
820408757a add OsuMarkdownListItem 2021-04-30 09:43:05 +07:00
e69ec91c07 Add xmldoc for CurrentRotation 2021-04-30 11:25:39 +09:00
3b2243fa24 Merge pull request #12610 from PercyDan54/export-precision-loss
Fix possible precision loss on exporting legacy replays
2021-04-30 11:19:27 +09:00
7bf3498e2a Calculate playfield scale locally 2021-04-30 02:49:19 +03:00