ComboBox for fill density values

This commit is contained in:
Alessandro Ranellucci committed 2014-03-22 17:01:48 +01:00
1 parent 7421a7bf63
commit b5b735c988
3 files changed
+41 -7

No files matched your search

-2
View File
@@ -262,8 +262,6 @@ sub validate {
if !first { $_ eq $self->solid_fill_pattern } @{$Options->{solid_fill_pattern}{values}};
# --fill-density
die "Invalid value for --fill-density\n"
if $self->fill_density < 0 || $self->fill_density > 100;
die "The selected fill pattern is not supposed to work at 100% density\n"
if $self->fill_density == 100
&& !first { $_ eq $self->fill_pattern } @{$Options->{solid_fill_pattern}{values}};