artwork support - release

This commit is contained in:
philippe44
2020-03-19 16:13:59 -07:00
parent 5e5dc9ba29
commit 606f1983c5
9 changed files with 40 additions and 25 deletions

View File

@@ -109,7 +109,7 @@ sub build_modes {
my $artwork = $cprefs->get('artwork');
# if artwork is in main display, reduce width
$width = $artwork->{'x'} - 1 if $artwork->{'enable'} && $artwork->{y} < 32;
$width = $artwork->{'x'} if $artwork->{'enable'} && $artwork->{y} < 32;
my $small_VU = $cprefs->get('small_VU');
my $spectrum = $cprefs->get('spectrum');
@@ -119,7 +119,7 @@ sub build_modes {
};
my $small_VU_pos = { x => $width - int ($small_VU * $width / 100),
width => int ($small_VU * $width / 100),
};
};
my @modes = (
# mode 0