mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 20:32:55 +08:00
Add comments backreferences to copies of duplicated code for future use
This commit is contained in:
parent
1f43ad3928
commit
5a0b732ee3
@ -190,6 +190,8 @@ namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
|||||||
lastSliderPathVersion = HitObject.Path.Version.Value;
|
lastSliderPathVersion = HitObject.Path.Version.Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// duplicated in `SliderSelectionBlueprint.convertToStream()`
|
||||||
|
// consider extracting common helper when applying changes here
|
||||||
private void convertToStream()
|
private void convertToStream()
|
||||||
{
|
{
|
||||||
if (editorBeatmap == null || beatDivisor == null)
|
if (editorBeatmap == null || beatDivisor == null)
|
||||||
|
@ -551,6 +551,8 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
|||||||
HitObject.Position += first;
|
HitObject.Position += first;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// duplicated in `JuiceStreamSelectionBlueprint.convertToStream()`
|
||||||
|
// consider extracting common helper when applying changes here
|
||||||
private void convertToStream()
|
private void convertToStream()
|
||||||
{
|
{
|
||||||
if (editorBeatmap == null || beatDivisor == null)
|
if (editorBeatmap == null || beatDivisor == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user