i have no idea what im doing
This commit is contained in:
parent
0ac361d45b
commit
4b87fcc648
|
@ -102,7 +102,7 @@ public class TempoDialog : Dialog
|
|||
if (tempoObj != null)
|
||||
{
|
||||
tempoObj.SetSwing(System.MathF.Round(swingSlider.value, 4));
|
||||
swingInput.text = (tempoObj.chartEntity["swing"] * 400).ToString("F");
|
||||
swingInput.text = (tempoObj.chartEntity["swing"] * 100 + 50).ToString("F");
|
||||
swingSlider.value = tempoObj.chartEntity["swing"];
|
||||
}
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ public class TempoDialog : Dialog
|
|||
{
|
||||
float swing = float.Parse(swingInput.text);
|
||||
tempoObj.SetSwing(swing * 0.25f / 100f);
|
||||
swingInput.text = (tempoObj.chartEntity["swing"] * 400).ToString("F");
|
||||
swingInput.text = (tempoObj.chartEntity["swing"] * 100 + 50).ToString("F");
|
||||
swingSlider.value = tempoObj.chartEntity["swing"];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue