forked from organicmaps/organicmaps
Reduced min pen pixel width to 1.0
This commit is contained in:
parent
f2dfb497bc
commit
a015c2965a
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ namespace yg
|
|||
PenInfo::PenInfo(Color const & color, double w, double const * pattern, size_t patternSize, double offset)
|
||||
: m_color(color), m_w(w), m_offset(offset), m_isSolid(false)
|
||||
{
|
||||
if (m_w < 1.25)
|
||||
m_w = 1.25;
|
||||
if (m_w < 1.0)
|
||||
m_w = 1.0;
|
||||
|
||||
/// if pattern is solid
|
||||
if ((pattern == 0 ) || (patternSize == 0))
|
||||
|
|
Loading…
Add table
Reference in a new issue