This commit is contained in:
Miha Kralj
2024-09-30 06:46:07 -07:00
parent 148f0ea846
commit bdc01bff4a
28 changed files with 803 additions and 1053 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ public class TSeries : List<TValue>
public new virtual void Add(TValue tick)
{
if (tick.IsNew) { base.Add(tick); }
if (tick.IsNew || base.Count==0) { base.Add(tick); }
else { this[^1] = tick; }
Pub?.Invoke(this, new ValueEventArgs(tick));
}