1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Variable adjustments

This commit is contained in:
MaxOhn 2018-10-12 21:34:24 +02:00
parent 19efa1cafb
commit a876beeada

View File

@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Osu.Mods
var h = d.HitObject;
float rescale = 2;
const float rescale = 2;
switch (drawable)
{
@ -76,9 +76,9 @@ namespace osu.Game.Rulesets.Osu.Mods
case DrawableRepeatPoint rp:
if (!rp.IsFirstRepeat)
break;
var origSizeRP = rp.Size;
var origSizeRp = rp.Size;
using (d.BeginAbsoluteSequence(h.StartTime - h.TimePreempt + 1, true))
rp.ResizeTo(origSizeRP * rescale).ResizeTo(origSizeRP, h.TimePreempt);
rp.ResizeTo(origSizeRp * rescale).ResizeTo(origSizeRp, h.TimePreempt);
break;
}
}