1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-01 11:32:56 +08:00
osu-lazer/osu.Game/Screens/Edit
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
..
Components Simplify editor "ternary button" structure 2025-01-09 13:41:22 +01:00
Compose Simplify editor "ternary button" structure 2025-01-09 13:41:22 +01:00
Design Enable nullability for design screen 2023-01-14 02:24:48 +03:00
GameplayTest Fix editor player crashing with UR counter present in skin 2024-07-08 11:14:32 +02:00
Setup Fix failing test scene due to new dependency 2024-12-28 01:02:15 +09:00
Timing Do not expose track directly in EditorClock 2025-01-07 11:40:18 +01:00
Verify Rewrite IssueTable to use virtualised list 2024-06-26 10:40:02 +02:00
BackgroundDimMenuItem.cs Use existing strings 2023-01-15 14:39:34 +03:00
BeatmapEditorChangeHandler.cs Change the way initial state saving works in EditorChangeHandler to be closer to first change 2023-02-07 16:22:51 +09:00
BindableBeatDivisor.cs Adjust visuals of tick display (and fine tune some other timeline elements) 2024-08-21 16:46:14 +09:00
BottomBar.cs Merge pull request #28788 from bdach/timeline-redesign 2024-07-12 10:58:59 +02:00
ClipboardContent.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
CreateNewDifficultyDialog.cs Localise create/save dialog 2023-01-15 01:50:47 +03:00
DeleteDifficultyConfirmationDialog.cs Fix delete dialogs having generic "Caution" header text 2024-10-07 16:46:53 +09:00
Editor.cs Re-route editor tempo adjustment via EditorClock and remove it on gameplay test 2025-01-07 11:25:00 +01:00
EditorBeatmap.cs Implement basic bookmark support in editor 2024-12-03 15:14:22 +01:00
EditorBeatmapProcessor.cs Only update combo information when any changes happened 2025-01-08 10:28:06 +01:00
EditorBeatmapSkin.cs Enable NRT in EditorBeatmapSkin 2024-02-23 14:52:44 +01:00
EditorChangeHandler.cs Add RestoreState() to IEditorChangeHandler 2024-06-11 11:31:30 +02:00
EditorClipboard.cs Automated pass 2023-06-24 01:00:03 +09:00
EditorClock.cs Do not expose track directly in EditorClock 2025-01-07 11:40:18 +01:00
EditorLoader.cs Rename AllowBackButton to AllowUserExit and rewrite visibility flow structure 2024-11-26 16:52:39 -05:00
EditorRoundedScreenSettings.cs Automated pass 2023-06-24 01:00:03 +09:00
EditorRoundedScreenSettingsSection.cs Partial everything 2022-11-27 00:00:27 +09:00
EditorScreen.cs Move workaround to subscreen 2024-05-24 10:35:33 +02:00
EditorScreenMode.cs Localise part of editor 2023-01-15 01:50:47 +03:00
EditorScreenWithTimeline.cs Add back incorrectly removed control point display toggle 2024-08-22 01:05:47 +09:00
EditorSkinProvidingContainer.cs Partial everything 2022-11-27 00:00:27 +09:00
EditorState.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ExternalEditScreen.cs Add error logging on failure to begin/end external edit 2024-07-11 09:54:12 +02:00
HitAnimationsMenuItem.cs Automated pass 2023-06-24 01:00:03 +09:00
IEditorChangeHandler.cs Add RestoreState() to IEditorChangeHandler 2024-06-11 11:31:30 +02:00
LegacyEditorBeatmapPatcher.cs Implement basic bookmark support in editor 2024-12-03 15:14:22 +01:00
ManualBreakPeriod.cs Make (Manual)BreakPeriod a class again 2024-06-19 14:53:09 +02:00
PromptForSaveDialog.cs Localise create/save dialog 2023-01-15 01:50:47 +03:00
ReloadEditorDialog.cs Attempt full editor reload on key count change 2024-06-11 11:31:49 +02:00
SaveRequiredPopupDialog.cs Simplify save dialogs 2024-07-11 12:15:17 +09:00
TableHeaderText.cs Rewrite ControlPointTable to use virtualised list 2024-06-26 10:40:02 +02:00
TransactionalCommitComponent.cs Change the way initial state saving works in EditorChangeHandler to be closer to first change 2023-02-07 16:22:51 +09:00
WaveformOpacityMenuItem.cs Move timeline toggle controls to "view" menu 2024-06-17 10:16:40 +02:00