fix(color): Outputs widget does not update after changing 'Extended Limits' (#7662)

This commit is contained in:
philmoz
2026-08-16 19:10:50 +10:00
committed by GitHub
parent 5e265601e0
commit 0c07a3d648
+3 -1
View File
@@ -99,8 +99,9 @@ class ChannelValue : public Window
int16_t value = channelOutputs[channel];
if (value != lastValue) {
if (value != lastValue || lastExtendedLimits != g_model.extendedLimits) {
lastValue = value;
lastExtendedLimits = g_model.extendedLimits;
std::string s;
if (g_eeGeneral.ppmunit == PPM_US)
@@ -146,6 +147,7 @@ class ChannelValue : public Window
int16_t lastValue = OUTPUT_INVALID_VALUE;
int16_t lastScaledValue = OUTPUT_INVALID_VALUE;
std::string lastText;
bool lastExtendedLimits = false;
bool chanHasName = false;
lv_obj_t* valueLabel = nullptr;
lv_obj_t* chanLabel = nullptr;