mirror of
https://github.com/ppy/osu.git
synced 2024-11-08 08:37:40 +08:00
c827c2810b
This fixes two issues the previous algorithm had: 1. A half-turn rotation used to show up as -180°. 2. Rotating more than 180° in one drag event would overwhelm it and cause the value to go outside its range. This comes at the cost of a negligible performance hit, since a division (modulo) is performed instead of just addition/subtraction. |
||
---|---|---|
.. | ||
Timeline | ||
BeatDivisorControl.cs | ||
BeatDivisorPresetCollection.cs | ||
BeatDivisorType.cs | ||
BlueprintContainer.cs | ||
CircularDistanceSnapGrid.cs | ||
ComposeBlueprintContainer.cs | ||
DistanceSnapGrid.cs | ||
DragBox.cs | ||
EditorBlueprintContainer.cs | ||
EditorSelectionHandler.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 |