File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,12 @@ export interface CurrentPaceComponentStateJson {
292292 time: string;
293293}
294294
295+ export interface DeltaComponentStateJson {
296+ text: string;
297+ time: string;
298+ color: Color;
299+ }
300+
295301export interface RunEditorStateJson {
296302 icon_change?: string,
297303 game: string,
Original file line number Diff line number Diff line change @@ -306,6 +306,12 @@ export interface CurrentPaceComponentStateJson {
306306 time: string;
307307}
308308
309+ export interface DeltaComponentStateJson {
310+ text: string;
311+ time: string;
312+ color: Color;
313+ }
314+
309315export interface RunEditorStateJson {
310316 icon_change?: string,
311317 game: string,
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ impl Component {
6767 let ( delta, use_live_delta) = delta:: calculate ( timer, comparison) ;
6868
6969 let mut index = timer. current_split_index ( ) ;
70- if use_live_delta {
70+ if ! use_live_delta {
7171 index -= 1 ;
7272 }
7373 let color = if index >= 0 {
You can’t perform that action at this time.
0 commit comments