return correct height for svg vector
This commit is contained in:
parent
8aae463c10
commit
99071d1253
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ double marker::height() const
|
|||
if (is_bitmap())
|
||||
return (*bitmap_data_)->height();
|
||||
else if (is_vector())
|
||||
return (*vector_data_)->height();
|
||||
return (*vector_data_)->bounding_box().height();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue