1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 08:32:54 +08:00
osu-lazer/osu.Game.Rulesets.Osu
Bartłomiej Dach 5c8ae6f851
Simplify editor "ternary button" structure
As I look into re-implementing the ability to choose combo colour for an
object (also known as "colourhax") from the editor UI, I stumble upon
these wretched ternary items again and sigh a deep sigh of annoyance.

The structure is overly rigid. `TernaryItem` does nothing that
`DrawableTernaryItem` couldn't, except make it more annoying to add
specific sub-variants of `DrawableTernaryItem` that could do more
things.

Yes you could sprinkle more levels of virtuals to
`CreateDrawableButton()` or something, but after all, as Saint Exupéry
says, "perfection is finally attained not when there is no longer
anything to add, but when there is no longer anything to take away."
So I'm leaning for taking one step towards perfection.
2025-01-09 13:41:22 +01:00
..
Beatmaps Merge branch 'master' into beatmap-info-purge 2024-09-15 04:53:35 +09:00
Configuration Fix display length not resetting to default because default was wrong 2024-09-07 13:54:12 +09:00
Difficulty moved back to the top 2024-11-14 09:03:08 +02:00
Edit Simplify editor "ternary button" structure 2025-01-09 13:41:22 +01:00
Judgements Store tracking history to slider judgement result instead 2024-02-29 12:11:50 +01:00
Mods Reduce HitSampleInfo constants allocations 2025-01-07 00:36:58 +03:00
Objects Fix slider end circles not remaining for long enough when hit animations disabled 2025-01-02 18:54:28 +09:00
Properties Automated pass 2023-06-24 01:00:03 +09:00
Replays Update usage of MathUtils 2024-03-06 12:13:12 +08:00
Scoring Make RankFromScore()'s dictionary param readonly 2024-01-22 19:56:30 +01:00
Skinning Fix multiple animation inconsistencies pointed out in review 2025-01-07 16:54:11 +09:00
Statistics Merge branch 'master' into heatmap-misses 2024-03-18 14:43:24 +01:00
UI Use time-based resume overlay when playing osu! on touchscreen 2024-12-16 08:24:22 -05:00
Utils Remove no longer required nested object reposition hacks 2024-10-14 14:26:27 +02:00
osu.Game.Rulesets.Osu.csproj Remove LangVersion redefintions 2024-02-07 03:28:40 +09:00
OsuInputManager.cs Fix taps on judged circles changing cursor position 2024-05-14 01:23:55 +09:00
OsuRuleset.cs Initial Implementation (working, unsafe handling of cursor position) 2024-10-11 18:38:53 -04:00
OsuSkinComponentLookup.cs Rename GameplaySkinComponentLookup -> SkinComponentLookup 2024-08-22 18:46:03 +09:00
OsuSkinComponents.cs remove skinnable 2024-02-27 21:51:54 -05:00