mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-04 16:51:37 -05:00
Show both: beats and bars
This commit is contained in:
parent
d6fda7a884
commit
ecb7b18878
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue