1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 06:21:22 +08:00

add the default fadeout-while-scaling-up to clicked objects

This commit is contained in:
MaxOhn
2018-09-30 14:46:36 +02:00
Unverified
parent cf8e6cf0ec
commit 98042eb7d4
+3 -1
View File
@@ -36,7 +36,9 @@ namespace osu.Game.Rulesets.Osu.Mods
var origScale = d.Scale;
d.ScaleTo(1.1f, 1) // if duration = 0 then components (i.e. flash) scale with it -> we don't want that
.Then()
.ScaleTo(origScale, h.TimePreempt);
.ScaleTo(origScale, h.TimePreempt)
.Then()
.ScaleTo(d.Scale * 1.5f, 400, Easing.OutQuad); // reapply overwritten ScaleTo
}
}
}