Change state timestamp to double precision.

This commit is contained in:
2022-12-19 14:55:15 +08:00
parent e55642cdeb
commit d7b0ca77e9
9 changed files with 40 additions and 40 deletions

View File

@@ -4,7 +4,7 @@ using System.Linq;
namespace Cryville.Crtr {
public class StampedEvent : IComparable<StampedEvent> {
public float Time;
public double Time;
public ChartEvent Unstamped;
public EventContainer Container;
public StampedEvent Origin;
@@ -12,7 +12,7 @@ namespace Cryville.Crtr {
private StampedEvent attev = null;
private StampedEvent relev = null;
public float Duration {
public double Duration {
get {
if (Unstamped == null) return 0;
if (Unstamped.IsLong)