mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
Remove whitespace
This commit is contained in:
parent
5b0b6e8e2a
commit
80f8bb0200
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ void CalculationResult::UpdateTextState()
|
||||||
{
|
{
|
||||||
double widthDiff = abs(m_textBlock->ActualWidth - containerSize);
|
double widthDiff = abs(m_textBlock->ActualWidth - containerSize);
|
||||||
double fontSizeChange = INCREMENTOFFSET;
|
double fontSizeChange = INCREMENTOFFSET;
|
||||||
|
|
||||||
if (widthDiff > WIDTHCUTOFF)
|
if (widthDiff > WIDTHCUTOFF)
|
||||||
{
|
{
|
||||||
fontSizeChange = min<double>(max<double>(floor(WIDTHTOFONTSCALAR * widthDiff) - WIDTHTOFONTOFFSET, INCREMENTOFFSET), MAXFONTINCREMENT);
|
fontSizeChange = min<double>(max<double>(floor(WIDTHTOFONTSCALAR * widthDiff) - WIDTHTOFONTOFFSET, INCREMENTOFFSET), MAXFONTINCREMENT);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue