mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 18:23:00 +08:00
f13ca28d5e
Closes https://github.com/ppy/osu/issues/28369.
The reporter of the issue was incorrect; it's not the beat snap grid
that is causing the problem, it's something far stupider than that.
When the current selection changes,
`EditorSelectionHandler.UpdateTernaryStates()` is supposed to update the
state of ternary bindables to reflect the reality of the current
selection. This in turn will fire bindable change callbacks for said
ternary toggles, which heavily use `EditorBeatmap.PerformOnSelection()`.
The thing about that method is that it will attempt to check whether any
changes were actually made to avoid producing empty undo states, *but*
to do this, it must *serialise out the entire beatmap to a stream* and
then *binary equality check that* to determine whether any changes were
actually made:
|
||
---|---|---|
.. | ||
Timeline | ||
BeatDivisorControl.cs | ||
BeatDivisorPresetCollection.cs | ||
BeatDivisorType.cs | ||
BeatSnapGrid.cs | ||
BlueprintContainer.cs | ||
CircularDistanceSnapGrid.cs | ||
ComposeBlueprintContainer.cs | ||
DistanceSnapGrid.cs | ||
DragBox.cs | ||
EditorBlueprintContainer.cs | ||
EditorInspector.cs | ||
EditorSelectionHandler.cs | ||
HitObjectInspector.cs | ||
HitObjectOrderedSelectionContainer.cs | ||
MoveSelectionEvent.cs | ||
RectangularPositionSnapGrid.cs | ||
ScrollingDragBox.cs | ||
SelectionBox.cs | ||
SelectionBoxButton.cs | ||
SelectionBoxControl.cs | ||
SelectionBoxDragHandle.cs | ||
SelectionBoxDragHandleContainer.cs | ||
SelectionBoxRotationHandle.cs | ||
SelectionBoxScaleHandle.cs | ||
SelectionHandler.cs | ||
SelectionRotationHandler.cs | ||
SelectionScaleHandler.cs |