ComboBox for fill density values

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

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}};