From b1326e16092babc7d353f2fdc724b6decc63c129 Mon Sep 17 00:00:00 2001 From: kozova1 Date: Thu, 26 Nov 2020 13:46:59 +0200 Subject: [PATCH] apps: settings: Fix initial slider value When the Settings app is launched, it shows the "Mid" text (this is correct), but the slider is at the lowest position. After moving the slider it functions correctly, so this fix is mostly cosmetic. Signed-off-by: kozova1 --- wasp/apps/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wasp/apps/settings.py b/wasp/apps/settings.py index 2bad080..2ed3217 100644 --- a/wasp/apps/settings.py +++ b/wasp/apps/settings.py @@ -19,6 +19,7 @@ class SettingsApp(): def __init__(self): self._slider = wasp.widgets.Slider(3, 10, 90) + self._slider.value = wasp.system.brightness - 1 def foreground(self): self._draw()