Fixed regression in is_printable() - needs unit test
This commit is contained in:
parent
37be4f7319
commit
8ce7b13db5
@ -129,7 +129,7 @@ sub is_printable {
|
|||||||
# detect them and we would be discarding them.
|
# detect them and we would be discarding them.
|
||||||
my $p = $self->clone;
|
my $p = $self->clone;
|
||||||
$p->make_counter_clockwise;
|
$p->make_counter_clockwise;
|
||||||
return $p->offset($flow->scaled_width / 2) ? 1 : 0;
|
return $p->offset(-$flow->scaled_width / 2) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub is_valid {
|
sub is_valid {
|
||||||
|
Loading…
Reference in New Issue
Block a user