Fix sliders value type (16 bits)

This commit is contained in:
Raphael Coeffic
2021-04-16 11:42:10 +02:00
parent c06214000b
commit 3ae7bafdd3
+1 -1
View File
@@ -49,7 +49,7 @@ class MainViewSlider : public Window
void checkEvents() override
{
Window::checkEvents();
int8_t newValue = getValue();
int16_t newValue = getValue();
if (value != newValue) {
value = newValue;
invalidate();