This snippet add a flashing background to the loop button while the current section is being looped. This makes it easier to see this from a distance.
Screenshots
Code
@keyframes button-looping {
from {
background-color: #2f855a;
}
to {
background-color: #48bb78;
}
}
.performance .controls :nth-child(3).active,
.performance .controls :nth-child(3).playing {
/* change the duration here if you'd like the animation to be slower */
animation: button-looping 0.3s alternate linear infinite;
}
.performance .controls :nth-child(3).active svg,
.performance .controls :nth-child(3).playing svg {
color: #fff;
}
If you’re using AbleSet 2.3.0 or newer, you can use a simplified version:
@keyframes button-looping {
from {
background-color: #2f855a;
}
to {
background-color: #48bb78;
}
}
.performance .controls .loop.active {
/* change the duration here if you'd like the animation to be slower */
animation: button-looping 0.3s alternate linear infinite;
}
.performance .controls .loop.active svg {
color: #fff;
}
The playback controls in the setlist view don’t have enough class names to write proper styles for them yet, but I’ll make sure to fix that in the next beta
Hi there! New to Ableset but this is EXACTLY what I came here to look for!
I’ve got both the background flash and the loop button flasher going, however the smaller bottom loop button does stop flashing once the loop is disabled (the background does!) – am i missing something in the .css ?
@keyframes button-looping {
from {
background-color: #2f855a;
}
to {
background-color: #48bb78;
}
}
.performance .controls .loop.active,
.playback-controls .loop.active {
/* change the duration here if you’d like the animation to be slower */
animation: button-looping 0.3s alternate linear infinite;
}
@keyframes performance-looping {
from {
background-color: rgba(0, 0, 0, 0);
}
to {
background-color: #4a271b;
}
}
.performance.looping {
/* change the duration here if you’d like the animation to be slower */
animation: performance-looping 0.3s alternate linear infinite;
}
Ah, I think that’s a different indicator. When you escape a loop defined by +LOOP, the loop button flashes until Live jumps to the end of the loop, which usually happens by the next full bar, depending on your quantization settings.
To work around this, you can define your loops with +LOOPFULL instead. This will just disable Live’s loop bracket without jumping to the end of the loop when you escape it.