From ecb7b18878adb122fbd388b545d64ffe1637f683 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Mon, 2 Apr 2018 09:56:17 +0200 Subject: [PATCH] Show both: beats and bars --- src/avtk/clipselector.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/avtk/clipselector.cxx b/src/avtk/clipselector.cxx index 9e96c73..5ca343d 100644 --- a/src/avtk/clipselector.cxx +++ b/src/avtk/clipselector.cxx @@ -429,7 +429,7 @@ int ClipSelector::handle(int event) void ClipState::setBeats(int numBeats, bool isBeatsToRecord) { if(numBeats > 0) { - barsText = std::to_string(numBeats/4); + barsText = std::to_string(numBeats) + "/" + std::to_string(numBeats/4); if(isBeatsToRecord){ barsText = "(" + barsText + ")"; beatsToRecord = numBeats;