Update the dimensions min and max values.

This commit is contained in:
Roman Telezhynskyi 2020-10-20 16:52:50 +03:00
parent 12a84969c2
commit 232c57d340

View File

@ -339,11 +339,11 @@ int VWMeasurementDimension::RangeMin() const
switch(m_units) switch(m_units)
{ {
case Unit::Cm: case Unit::Cm:
return 33; return 20;
case Unit::Mm: case Unit::Mm:
return 330; return 200;
case Unit::Inch: case Unit::Inch:
return 12; return 8;
default: default:
return 0; return 0;
} }
@ -355,11 +355,11 @@ int VWMeasurementDimension::RangeMax() const
switch(m_units) switch(m_units)
{ {
case Unit::Cm: case Unit::Cm:
return 63; return 65;
case Unit::Mm: case Unit::Mm:
return 630; return 650;
case Unit::Inch: case Unit::Inch:
return 25; return 26;
default: default:
return 0; return 0;
} }
@ -388,11 +388,11 @@ int VZMeasurementDimension::RangeMin() const
switch(m_units) switch(m_units)
{ {
case Unit::Cm: case Unit::Cm:
return 33; return 20;
case Unit::Mm: case Unit::Mm:
return 330; return 200;
case Unit::Inch: case Unit::Inch:
return 12; return 8;
default: default:
return 0; return 0;
} }
@ -404,11 +404,11 @@ int VZMeasurementDimension::RangeMax() const
switch(m_units) switch(m_units)
{ {
case Unit::Cm: case Unit::Cm:
return 63; return 75;
case Unit::Mm: case Unit::Mm:
return 630; return 750;
case Unit::Inch: case Unit::Inch:
return 25; return 30;
default: default:
return 0; return 0;
} }