Skip to content

Conversation

@ScribbleTAS
Copy link
Member

No description provided.

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)
@ScribbleTAS ScribbleTAS added the Gui Issue relates to guis label May 2, 2025
@ScribbleTAS ScribbleTAS requested a review from PancakeTAS May 2, 2025 07:56
@ScribbleTAS ScribbleTAS self-assigned this May 2, 2025
@github-project-automation github-project-automation bot moved this to Todo in TASmod May 2, 2025
@ScribbleTAS ScribbleTAS enabled auto-merge May 2, 2025 07:58
@ScribbleTAS ScribbleTAS merged commit ec1d8e9 into MinecraftTAS:develop May 2, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in TASmod May 2, 2025
@ScribbleTAS ScribbleTAS deleted the enhancement/playback-index branch May 2, 2025 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gui Issue relates to guis

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants