mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:52:55 +08:00
Remove redundant parameter and unused setters
This commit is contained in:
parent
bdbd64c88d
commit
c85d5513be
@ -162,7 +162,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
var oldPos = new Vector2(slider.Position.X, slider.Position.Y);
|
||||
|
||||
// Min. distances from the slider's position to the playfield border
|
||||
var minMargin = new MarginPadding(0);
|
||||
var minMargin = new MarginPadding();
|
||||
|
||||
foreach (var hitObject in slider.NestedHitObjects.Where(o => o is SliderTick || o is SliderEndCircle))
|
||||
{
|
||||
@ -282,10 +282,10 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
{
|
||||
internal float AngleRad { get; set; }
|
||||
|
||||
internal Vector2 PositionOriginal { get; set; }
|
||||
internal Vector2 PositionOriginal { get; }
|
||||
internal Vector2 PositionRandomised { get; set; }
|
||||
|
||||
internal Vector2 EndPositionOriginal { get; set; }
|
||||
internal Vector2 EndPositionOriginal { get; }
|
||||
internal Vector2 EndPositionRandomised { get; set; }
|
||||
|
||||
public RandomObjectInfo(OsuHitObject hitObject)
|
||||
|
Loading…
Reference in New Issue
Block a user