mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +08:00
Simplify toolbox initialisation
This commit is contained in:
parent
ba6fbbe43c
commit
92728ea564
@ -97,12 +97,12 @@ namespace osu.Game.Rulesets.Osu.Edit
|
||||
// we may be entering the screen with a selection already active
|
||||
updateDistanceSnapGrid();
|
||||
|
||||
RightToolbox.Add(new TransformToolboxGroup
|
||||
{
|
||||
RotationHandler = BlueprintContainer.SelectionHandler.RotationHandler,
|
||||
});
|
||||
|
||||
RightToolbox.Add(FreehandlSliderToolboxGroup);
|
||||
RightToolbox.AddRange(new EditorToolboxGroup[]
|
||||
{
|
||||
new TransformToolboxGroup { RotationHandler = BlueprintContainer.SelectionHandler.RotationHandler, },
|
||||
FreehandlSliderToolboxGroup
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
protected override ComposeBlueprintContainer CreateBlueprintContainer()
|
||||
|
Loading…
Reference in New Issue
Block a user