mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-15 19:19:58 -04:00
Show Background Color and Button Color in Customize Launcher as soon as Color Scheme is set to Custom, and hide them again when another scheme is chosen.
Changing the scheme redrew the window but kept the rows the screen was opened with, so the two rows came and went only when the screen was opened again, as after choosing a picture. The rows are now made again each time the scheme changes, with the cursor staying on Color Scheme. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -942,6 +942,10 @@ class App:
|
||||
def scheme(d):
|
||||
self.settings['theme'] = names[(names.index(art.theme) + d) % len(names)]
|
||||
self.settings.save()
|
||||
# the rows again: Background Color and Button Color are there only while the scheme is Custom; the
|
||||
# cursor stays on Color Scheme, the first row
|
||||
art.set_theme(self.settings['theme'], self.custom_colors())
|
||||
self.rows = self.rows_customize()
|
||||
self.apply_look()
|
||||
|
||||
def dim(d):
|
||||
|
||||
Reference in New Issue
Block a user