Commit Graph

9 Commits

Author SHA1 Message Date
Salman Ahmed 2609b22d53 Replace usage of `CurrentModeRank` in line with API change 2021-03-01 23:07:25 +03:00
Dean Herbert 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
Salman Ahmed 9c22753f3f Remove unnecessary inheritance to OverlayView 2020-12-18 02:51:19 +03:00
Salman Ahmed 94175d0532 Use global friends list instead of always fetching 2020-12-17 13:33:17 +03:00
Andrei Zavatski 81d95f8584 Implement UserBrickPanel component 2020-07-18 20:24:38 +03:00
Dean Herbert b3d4b4a3f4 Add back missing fill flow 2020-04-20 18:25:39 +09:00
Dean Herbert 5464746d3d Switch to using CompositeDrawable 2020-04-20 15:25:58 +09:00
Andrei Zavatski 29bea4e11c Implement OverlayView component 2020-04-16 11:42:21 +03:00
Dean Herbert bfd643dd16 Rename classes 2020-03-23 10:47:27 +09:00