DivSongTimestamps, part 3

This commit is contained in:
tildearrow 2025-10-29 02:39:52 -05:00
parent 2f11128c8d
commit ecfea6033a
6 changed files with 48 additions and 10 deletions

View file

@ -406,6 +406,15 @@ inline void FurnaceGUI::patternRow(int i, bool isPlaying, float lineHeight, int
for (int k=mustSetXOf; k<=chans; k++) {
patChanX[k]=ImGui::GetCursorScreenPos().x;
}
if (debugRowTimestamps) {
DivSongTimestamps::Timestamp rowTS=e->curSubSong->ts.getTimes(ord,i);
if (rowTS.seconds==-1) {
ImGui::Text("---");
} else {
ImGui::Text("%d.%06d",rowTS.seconds,rowTS.micros);
}
}
}
void FurnaceGUI::drawPattern() {