[color] fixed drawing values from LUA mixer scripts
This commit is contained in:
@@ -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) {
|
else if (source >= MIXSRC_FIRST_GVAR && source <= MIXSRC_LAST_GVAR) {
|
||||||
drawGVarValue(dc, x, y, source - MIXSRC_FIRST_GVAR, value, flags);
|
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
|
#endif
|
||||||
else if (source < MIXSRC_FIRST_CH) {
|
else if (source < MIXSRC_FIRST_CH) {
|
||||||
dc->drawNumber(x, y, calcRESXto100(value), flags);
|
dc->drawNumber(x, y, calcRESXto100(value), flags);
|
||||||
|
|||||||
Reference in New Issue
Block a user