mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Restore ResultsMVisualStateTrigger
This commit is contained in:
parent
73609aadf0
commit
7556e84504
2 changed files with 6 additions and 5 deletions
|
@ -907,7 +907,7 @@
|
|||
<VisualStateGroup>
|
||||
<VisualState x:Name="ResultsL">
|
||||
<VisualState.StateTriggers>
|
||||
<AdaptiveTrigger MinWindowHeight="800" />
|
||||
<AdaptiveTrigger x:Name="ResultsMVisualStateTrigger" MinWindowHeight="800" />
|
||||
</VisualState.StateTriggers>
|
||||
<Storyboard />
|
||||
</VisualState>
|
||||
|
|
|
@ -228,21 +228,21 @@ namespace CalculatorApp
|
|||
state = "Programmer";
|
||||
Model.IsDecimalEnabled = false;
|
||||
// UNO TODO
|
||||
// ResultsMVisualStateTrigger.MinWindowHeight = 640;
|
||||
ResultsMVisualStateTrigger.MinWindowHeight = 640;
|
||||
}
|
||||
else if (IsScientific)
|
||||
{
|
||||
state = "Scientific";
|
||||
Model.IsDecimalEnabled = true;
|
||||
// UNO TODO
|
||||
// ResultsMVisualStateTrigger.MinWindowHeight = 544;
|
||||
ResultsMVisualStateTrigger.MinWindowHeight = 544;
|
||||
}
|
||||
else
|
||||
{
|
||||
state = "Standard";
|
||||
Model.IsDecimalEnabled = true;
|
||||
// UNO TODO
|
||||
// ResultsMVisualStateTrigger.MinWindowHeight = 1;
|
||||
ResultsMVisualStateTrigger.MinWindowHeight = 1;
|
||||
}
|
||||
|
||||
CloseHistoryFlyout();
|
||||
|
@ -376,7 +376,8 @@ namespace CalculatorApp
|
|||
}
|
||||
else
|
||||
{
|
||||
AnimateWithoutResult.Begin();
|
||||
/* UNO TODO */
|
||||
AnimateWithoutResult?.Begin();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue