fix: don't multiply full rounding by scale
Full rounding is int max, so if multiplied it overflows
This commit is contained in:
parent
38a737b4d8
commit
b2a62e72ab
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ int AppearanceRounding::extraExtraLarge() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
int AppearanceRounding::full() const {
|
int AppearanceRounding::full() const {
|
||||||
return m_tokens ? static_cast<int>(m_tokens->full() * m_scale) : 0;
|
return m_tokens ? static_cast<int>(m_tokens->full()) : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// AppearanceSpacing
|
// AppearanceSpacing
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue