mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 07:02:54 +08:00
Variable adjustments
This commit is contained in:
parent
19efa1cafb
commit
a876beeada
@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
|
|
||||||
var h = d.HitObject;
|
var h = d.HitObject;
|
||||||
|
|
||||||
float rescale = 2;
|
const float rescale = 2;
|
||||||
|
|
||||||
switch (drawable)
|
switch (drawable)
|
||||||
{
|
{
|
||||||
@ -76,9 +76,9 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
case DrawableRepeatPoint rp:
|
case DrawableRepeatPoint rp:
|
||||||
if (!rp.IsFirstRepeat)
|
if (!rp.IsFirstRepeat)
|
||||||
break;
|
break;
|
||||||
var origSizeRP = rp.Size;
|
var origSizeRp = rp.Size;
|
||||||
using (d.BeginAbsoluteSequence(h.StartTime - h.TimePreempt + 1, true))
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user