hires display fixes

This commit is contained in:
Philippe G
2020-12-02 14:05:23 -08:00
parent f06c08cef7
commit c576587de4
7 changed files with 17 additions and 10 deletions

View File

@@ -58,13 +58,14 @@ sub handler {
$cprefs->set('spectrum', $spectrum);
my $artwork = {
enable => $paramRef->{'pref_artwork_enable'},
enable => $paramRef->{'pref_artwork_enable'} eq 'on',
x => $paramRef->{'pref_artwork_x'} || 0,
y => $paramRef->{'pref_artwork_y'} || 0,
};
$cprefs->set('artwork', $artwork);
$client->display->modes($client->display->build_modes);
$client->display->update;
# the display update will be done below, after all is completed
# force update or disable artwork
if ($artwork->{'enable'}) {
@@ -72,6 +73,7 @@ sub handler {
} else {
$client->config_artwork();
}
}
my $equalizer = $cprefs->get('equalizer');