Merge pull request #235 from EdgeTX/fix-234
[Color] make it a slow disco on telemetry screen
This commit is contained in:
@@ -79,7 +79,7 @@ class SensorButton : public Button {
|
|||||||
{
|
{
|
||||||
TelemetryItem &telemetryItem = telemetryItems[index];
|
TelemetryItem &telemetryItem = telemetryItems[index];
|
||||||
|
|
||||||
if (telemetryItem.isFresh())
|
if (telemetryItem.isAvailable())
|
||||||
dc->drawSolidFilledRect(2, 2, rect.w - 4, rect.h - 4, HIGHLIGHT_COLOR);
|
dc->drawSolidFilledRect(2, 2, rect.w - 4, rect.h - 4, HIGHLIGHT_COLOR);
|
||||||
else
|
else
|
||||||
dc->drawSolidFilledRect(2, 2, rect.w - 4, rect.h - 4, FIELD_BGCOLOR);
|
dc->drawSolidFilledRect(2, 2, rect.w - 4, rect.h - 4, FIELD_BGCOLOR);
|
||||||
|
|||||||
Reference in New Issue
Block a user