[color] fixed drawing values from LUA mixer scripts

This commit is contained in:
Raphael Coeffic
2021-08-02 13:04:41 +02:00
parent 7fbcc54485
commit bb60d62267
@@ -464,6 +464,11 @@ void drawSourceCustomValue(BitmapBuffer * dc, coord_t x, coord_t y, source_t sou
else if (source >= MIXSRC_FIRST_GVAR && source <= MIXSRC_LAST_GVAR) {
drawGVarValue(dc, x, y, source - MIXSRC_FIRST_GVAR, value, flags);
}
#endif
#if defined(LUA_INPUTS)
else if (source >= MIXSRC_FIRST_LUA && source <= MIXSRC_LAST_LUA) {
dc->drawNumber(x, y, value, flags);
}
#endif
else if (source < MIXSRC_FIRST_CH) {
dc->drawNumber(x, y, calcRESXto100(value), flags);