Commit Graph

115 Commits

Author SHA1 Message Date
3113eefcf6 Don't attempt to load content when not online 2021-04-06 17:12:00 +09:00
899d708dac Move loading layer up one level to correct padding 2021-04-06 17:09:51 +09:00
1934e8e1fe Fix loading layer being in the wrong place 2021-04-06 16:30:47 +09:00
59e6c46644 Remove unnecessary online state logic 2021-04-06 16:23:27 +09:00
dafa8bbe4e Refactor BeatmapDetails to use GridContainer to keep a consistent layout 2021-04-06 16:21:20 +09:00
a5a19319cc Fix code style 2021-04-02 21:15:28 +08:00
1ff77754fd Use OnlineViewContainer 2021-04-02 20:14:31 +08:00
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
a1fa6588f6 Fix "bounce" when metadata container text is empty 2020-10-31 01:06:19 +13:00
29b4d98aac Show retry/fail graph when either list is present 2020-08-24 20:41:50 +02:00
0e2ccac33b Add spaces to comments 2020-05-04 18:36:24 -07:00
623b78d675 Combine all loading animation implementations 2020-02-21 15:32:46 +09:00
c753cb46c5 Use [Resolved] wherever possible 2020-02-14 20:14:00 +07:00
fd44ca3233 Rename Animation to Layer 2019-08-04 13:54:23 +03:00
a30d7912b1 Move DimmedLoadingAnimation to it's own file 2019-08-04 11:09:12 +03:00
2b48f5d3e0 Tidy up updateMetrics flow 2019-06-15 14:45:51 +09:00
587edcb716 Merge branch 'master' into fix-beatmapoverlay-graphs 2019-06-15 13:42:13 +09:00
bc574520bf Update ScrollContainer usages in line with framework changes 2019-06-14 15:55:32 +09:00
f54f6e552b Fix beatmap details potentially using the incorrect metrics 2019-06-13 18:04:42 +09:00
583bb53f53 Remove GetBeatmapDetailsRequest 2019-06-13 16:57:19 +09:00
0a79b444d9 Move metrics to beatmap set 2019-06-13 16:52:49 +09:00
609a82bc94 Update VisibilityContainer usage in line with framework 2019-06-11 15:13:58 +09:00
e0b3149e32 Merge branch 'master' into api-testability 2019-03-18 10:59:06 +09:00
69eb4ef983 Change updateMetrics parameter to be optional 2019-03-14 13:35:49 +09:00
dd6fbccb56 Slight refactoring of order for readability 2019-03-13 19:57:45 +09:00
e6449db8e3 Null metrics on null beatmap for transition animation 2019-03-13 14:13:42 +09:00
f0114d776d Use interface to access API
Allows for better testability.
2019-03-13 12:58:18 +09:00
8e5816805c Fix showing outdated data for non-online beatmaps 2019-03-08 18:44:35 +09:00
054db48089 Move online id null check to only bypass metrics lookup 2019-03-07 16:59:43 +09:00
e5e454ddcd Don't perform lookup of beatmap stats unless an online id is present 2019-03-07 16:17:12 +09:00
0788a7e9f1 Merge branch 'master' into more-inspections 2019-02-28 14:32:57 +09:00
42be7857d1 Use expression body for property get/set where possible 2019-02-28 13:58:19 +09:00
c8793911a8 Enable more stringent inspectcode style inspections 2019-02-27 21:25:40 +09:00
d9872dda12 Use fade instead of negative margin 2019-02-26 16:10:06 +09:00
2d6d9dd723 Add better easing 2019-02-26 16:09:45 +09:00
c1432b2ed5 Add back newline 2019-02-26 15:48:34 +09:00
97dc7f9819 Merge branch 'master' into MissingSource 2019-02-25 19:35:44 +09:00
4db5531e4b Replace copy-constructor/method with extension method 2019-02-20 19:32:30 +09:00
a2aa3ec5cb Adjust sprite texts in-line with framework changes 2019-02-20 15:03:20 +09:00
5fbdbcf209 removed 'unknown source' line 2019-02-12 15:30:42 -05:00
cfe14dcdb1 Options for handing unknown beatmap source 2019-02-10 18:31:39 -05:00
8617aaa2a7 Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
f27bd3ef3e OpenTK -> osuTK 2018-11-20 17:14:59 +09:00
cf3b4447eb Fade only textContainer instead of entire MetadataSection 2018-10-26 13:35:51 +02:00
88aca46500 Fade MetadataSection back in if non-null Text is set 2018-10-24 18:53:22 +02:00
6d24bde72b Fix beatmap details not displaying 2018-10-09 17:39:27 +09:00
bd7c9cd8bf Set 'Colour' when creating 'textFlow' 2018-06-03 17:41:34 -07:00
5c713ac2ab Use default colour in MetadataSection 2018-06-03 07:51:57 -07:00
dc2a004c87 Remove link colours for all unlinked text 2018-06-02 12:04:58 -07:00
b4d621a2cb Add link colour to beatmap source 2018-05-31 10:21:22 -07:00