Fix inaccurate beat snapping for Quaver charts.
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Cryville.Crtr.Extensions {
|
||||
}
|
||||
public class TimeTimingModel : TimingModel {
|
||||
public readonly double InputTimeAccuracy;
|
||||
public TimeTimingModel(double accuracy = 2e-3, double offset = 0) : base(offset) {
|
||||
public TimeTimingModel(double offset = 0, double accuracy = 2e-3) : base(offset) {
|
||||
if (accuracy <= 0) throw new ArgumentOutOfRangeException("accuracy");
|
||||
InputTimeAccuracy = accuracy;
|
||||
}
|
||||
|
Reference in New Issue
Block a user