mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 23:59:16 +08:00
Fix conflicts
This commit is contained in:
parent
c56cc97e38
commit
5fc6f1f4a5
@ -30,9 +30,6 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
|
||||
[TestCase(2f)]
|
||||
public void TestSizeMultiplier(float sizeMultiplier) => CreateModTest(new ModTestData { Mod = new OsuModFlashlight { StartingFlashlightSize = { Value = sizeMultiplier } }, PassCondition = () => true });
|
||||
|
||||
[Test]
|
||||
public void TestComboBasedSize([Values] bool comboBasedSize) => CreateModTest(new ModTestData { Mod = new OsuModFlashlight { ComboBasedSize = { Value = comboBasedSize } }, PassCondition = () => true });
|
||||
|
||||
[Test]
|
||||
public void TestPlayfieldBasedSize()
|
||||
{
|
||||
|
@ -149,7 +149,6 @@ namespace osu.Game.Rulesets.Mods
|
||||
|
||||
internal Func<Vector2>? GetPlayfieldScale;
|
||||
|
||||
|
||||
protected Flashlight(ModFlashlight modFlashlight)
|
||||
{
|
||||
changeSizeCombo = modFlashlight.ChangeSizeComboDivisor.Value;
|
||||
@ -197,7 +196,7 @@ namespace osu.Game.Rulesets.Mods
|
||||
|
||||
Debug.Assert(Precision.AlmostEquals(Math.Abs(playfieldScale.X), Math.Abs(playfieldScale.Y)),
|
||||
@"Playfield has non-proportional scaling. Flashlight implementations should be revisited with regard to balance.");
|
||||
size *= Math.Abs(playfieldScale.X);
|
||||
scale *= Math.Abs(playfieldScale.X);
|
||||
}
|
||||
|
||||
if (isBreakTime.Value)
|
||||
|
Loading…
Reference in New Issue
Block a user