mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 02:52:54 +08:00
c6f0cf50ca
- Checking `DrawSize != Vector2.Zero` is too specific. It could also crash on zero-height-but-non-zero-width, or zero-width-but-non-zero-height. - Take the `gridCache.Validate()` call out of the zero checks, because even if the width or height are zero, not generating anything is valid and there is no reason to validate every frame until `gridCache` gets invalidated again. |
||
---|---|---|
.. | ||
Timeline | ||
BeatDivisorControl.cs | ||
BeatDivisorPresetCollection.cs | ||
BeatDivisorType.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 |