1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00
osu-lazer/osu.Game/Graphics
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
..
Backgrounds Add Triangles.Reset() 2020-11-17 13:06:30 +09:00
Containers Expose generic version of OsuScrollContainer 2020-11-26 18:25:56 +09:00
Cursor Use local input manager 2020-09-07 15:31:05 +09:00
OpenGL/Vertices Fix FTB causing flashlight to block vision correctly 2019-07-23 15:17:02 +09:00
Sprites Add support for standardised -> classic changes 2020-08-28 21:34:34 +09:00
UserInterface Refactor LoadingLayer to avoid applying effects to external drawables 2021-01-05 17:31:45 +09:00
UserInterfaceV2 Add comment with reasoning for TopRight anchor 2020-10-19 16:02:39 +09:00
DateTooltip.cs Move DateTooltip to it's on file 2020-07-07 16:46:17 +03:00
DrawableDate.cs Move DateTooltip to it's on file 2020-07-07 16:46:17 +03:00
IHasAccentColour.cs Constrain transformable with class. 2019-12-09 17:45:26 +08:00
OsuColour.cs Merge pull request #8339 from smoogipoo/update-rank-colours 2020-03-18 18:59:45 +09:00
OsuFont.cs Add black font weighting 2020-03-17 17:16:10 +09:00
OsuIcon.cs Fix osu! icon font name mismatch 2019-04-02 19:55:46 +09:00
ParticleExplosion.cs Simplify math by making direction a float 2020-11-19 18:46:19 +09:00
ScreenshotManager.cs Use async overloads 2020-12-03 18:04:53 +09:00