1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-01 14:22:56 +08:00
osu-lazer/osu.Game/Screens/Edit/Components
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
..
Menus Improve menu/context-menu sample playback 2024-11-29 06:54:48 +09:00
RadioButtons Add slider placement binding description in tooltip 2024-06-18 08:16:25 +02:00
TernaryButtons Simplify editor "ternary button" structure 2025-01-09 13:41:22 +01:00
Timelines/Summary Do not expose track directly in EditorClock 2025-01-07 11:40:18 +01:00
BottomBarContainer.cs Remove unused protected field 2025-01-07 11:26:08 +01:00
EditorSidebar.cs Fix skin editor component list having uneven padding 2023-02-03 16:55:51 +09:00
EditorSidebarSection.cs Move out section header component from editor 2024-06-12 11:43:40 +02:00
EditorToolButton.cs Add precise rotation control to osu! editor 2023-08-16 11:37:52 +02:00
PlaybackControl.cs Re-route editor tempo adjustment via EditorClock and remove it on gameplay test 2025-01-07 11:25:00 +01:00
TimeInfoContainer.cs Add back BPM and adjust sizing of bottom bar a bit more 2024-07-12 12:34:43 +09:00