Show both: beats and bars

This commit is contained in:
Valentin Boettcher 2018-04-02 09:56:17 +02:00
parent d6fda7a884
commit ecb7b18878

View file

@ -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;