mirror of
https://github.com/ppy/osu.git
synced 2025-02-07 10:12:59 +08:00
Add ability to start a new segment during placement via S
key
This commit is contained in:
parent
b5f0e58524
commit
16ea8f67b0
@ -242,6 +242,17 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
|||||||
|
|
||||||
switch (e.Key)
|
switch (e.Key)
|
||||||
{
|
{
|
||||||
|
case Key.S:
|
||||||
|
{
|
||||||
|
if (!canPlaceNewControlPoint(out _))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
placeNewControlPoint();
|
||||||
|
var last = HitObject.Path.ControlPoints.Last(p => p != cursor);
|
||||||
|
beginNewSegment(last);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
case Key.Tab:
|
case Key.Tab:
|
||||||
{
|
{
|
||||||
usingCustomSegmentType = true;
|
usingCustomSegmentType = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user