1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 14:03:07 +08:00
osu-lazer/osu.Game.Rulesets.Osu/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
..
Blueprints Ensure slider is not selectable when body is not visible 2025-01-07 16:38:22 +09:00
Checks Refactor abstract check to reduce duplication 2024-03-26 11:13:03 +01:00
Setup Merge branch 'master' into beatmap-info-purge 2024-11-22 18:47:32 +09:00
DrawableOsuEditorRuleset.cs Fix playfield border size not updating in editor on circle size change 2024-06-17 09:36:01 +02:00
FreehandSliderToolboxGroup.cs Update default parameters to be slightly better 2023-12-07 01:15:42 +01:00
GenerateToolboxGroup.cs Reimplement stable polygon tool 2024-06-20 16:29:46 +02:00
GridFromPointsTool.cs Let right-click reset grid to default values 2024-10-08 10:51:35 +02:00
HitCircleCompositionTool.cs Refactor PlacementBlueprint to not be hitobject specific 2024-09-24 20:31:00 +02:00
OsuBeatmapVerifier.cs Make check ruleset specific 2024-03-22 14:48:22 -03:00
OsuBlueprintContainer.cs improve grid from points tool code 2024-01-01 16:12:28 +01:00
OsuDistanceSnapGrid.cs Partial everything 2022-11-27 00:00:27 +09:00
OsuDistanceSnapProvider.cs Made reading of ReadCurrentDistanceSnap public 2024-11-18 23:49:40 +01:00
OsuGridToolboxGroup.cs Merge branch 'master' into beatmap-info-purge 2024-11-26 10:21:16 +01:00
OsuHitObjectComposer.cs Simplify editor "ternary button" structure 2025-01-09 13:41:22 +01:00
OsuHitObjectInspector.cs Show object inspector values during placement 2024-08-09 18:02:37 +09:00
OsuSelectionHandler.cs clarify angle ranges in HandleFlip 2024-08-13 14:21:42 +02:00
OsuSelectionRotationHandler.cs use minimum enclosing circle selection centre in rotation 2024-09-20 01:07:47 +02:00
OsuSelectionScaleHandler.cs Rename methods to fit new changes better 2024-10-11 15:03:30 +02:00
PolygonGenerationPopover.cs Merge branch 'master' into feat/optimize-polygon-tool 2024-11-13 13:59:54 +09:00
PreciseRotationPopover.cs Fix rotation popover potentially crashing due to activating selection origin just before disabling it 2024-11-04 10:58:48 +01:00
PreciseScalePopover.cs Merge pull request #30484 from peppy/store-scale-origin-mode 2024-11-04 12:58:06 +01:00
SliderCompositionTool.cs Refactor PlacementBlueprint to not be hitobject specific 2024-09-24 20:31:00 +02:00
SpinnerCompositionTool.cs Refactor PlacementBlueprint to not be hitobject specific 2024-09-24 20:31:00 +02:00
TransformToolboxGroup.cs use grid origin in scale tool 2024-07-03 12:40:22 +02:00