broken: fixed event toggling order

This commit is contained in:
Hane 2023-08-14 16:24:07 +02:00
commit 4f900ad425
2 changed files with 4 additions and 2 deletions

View file

@ -128,9 +128,11 @@ void OverseerHandler::updateMainVolumeCallback(uint64_t idx, float newVal){
void OverseerHandler::updateChannelVolumeCallback(uint64_t idx, uint32_t channel, float newVal){
//int translatedNewVal = newVal * 100;
log_debugcpp("chanel: " << channel << " volcallback float: " << newVal);
epwChannelVolumeFunc f = &EndpointWidget::updateChannelVolume;
std::invoke(f, endpointWidgets.at(idx), channel, newVal);
//TODO: Soy retrasado
//endpointWidgets.at(idx)->updateChannelVolume(channel, newVal);