Fix sliders value type (16 bits)
This commit is contained in:
@@ -49,7 +49,7 @@ class MainViewSlider : public Window
|
|||||||
void checkEvents() override
|
void checkEvents() override
|
||||||
{
|
{
|
||||||
Window::checkEvents();
|
Window::checkEvents();
|
||||||
int8_t newValue = getValue();
|
int16_t newValue = getValue();
|
||||||
if (value != newValue) {
|
if (value != newValue) {
|
||||||
value = newValue;
|
value = newValue;
|
||||||
invalidate();
|
invalidate();
|
||||||
|
|||||||
Reference in New Issue
Block a user