mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 18:20:12 +08:00
Reword comment to be more coherent
This commit is contained in:
@@ -36,8 +36,8 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints
|
||||
|
||||
base.EndPlacement(commit);
|
||||
|
||||
// You typically only place the grid once, so we switch back to the last tool after placement.
|
||||
// This may be committed due to switching to another tool, we don't want to change the tool if so.
|
||||
// You typically only place the grid once, so we switch back to the last tool after placement -
|
||||
// but only if the tool hasn't changed from under us (which is possible, as external tool changes will commit any ongoing placements, including this one)
|
||||
if (commit && hitObjectComposer?.BlueprintContainer.CurrentTool is GridFromPointsTool)
|
||||
hitObjectComposer.SetLastTool();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user