1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 14:50:45 +08:00
Files
osu-lazer/osu.Game/Overlays/SkinEditor
T
Dean Herbert 5bd06832d0 Fix skin component toolbox not working correctly for ruleset matching
Until now, the only usage of ruleset layers was where there is both a
ruleset specific and non-ruleset-specific layer present. The matching
code was making assumptions about this.

As I tried to add a new playfield layer which breaks this assumption,
non-ruleset-specifc components were not being displayed in the toolbox.
This turned out to be due to a `target` of `null` being provided due to
the weird `getTarget` matching (that happened to *just* do what we
wanted previously due to the equals implementation, but only because
there was a container without the ruleset present in the available
targets).

I've changed this to be a more appropriate lookup method, where the
target for dependency sourcing is provided separately from the ruleset
filter.
5bd06832d0 · 2023-07-28 15:50:44 +09:00
History
..
2023-05-03 19:22:52 +02:00