mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -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)
|
void ClipState::setBeats(int numBeats, bool isBeatsToRecord)
|
||||||
{
|
{
|
||||||
if(numBeats > 0) {
|
if(numBeats > 0) {
|
||||||
barsText = std::to_string(numBeats/4);
|
barsText = std::to_string(numBeats) + "/" + std::to_string(numBeats/4);
|
||||||
if(isBeatsToRecord){
|
if(isBeatsToRecord){
|
||||||
barsText = "(" + barsText + ")";
|
barsText = "(" + barsText + ")";
|
||||||
beatsToRecord = numBeats;
|
beatsToRecord = numBeats;
|
||||||
|
|
Loading…
Add table
Reference in a new issue