Commit bb12857
committed
[InfoHud] Add current input size to the playback index
Currently, the playback index only shows the current tick of the recording.
Now a second variable is added to show the size of the recording with the format 0/0,
with the second one being the size.
To get the size, I use PlaybackController#size()-1 as the index is always one smaller than the size.
And to not get negative numbers when no inputs are present, I use Math.max(size, 0)1 parent 39f58a4 commit bb12857
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
| 457 | + | |
| 458 | + | |
458 | 459 | | |
459 | 460 | | |
460 | 461 | | |
| |||
0 commit comments