mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-13 00:32:52 -07:00
Update Calc Engine for new functions needed for keyboard refresh (#662)
* Update Calc Engine to Support New Functionality * Address PR comments * Address PR comments
This commit is contained in:
parent
d9bf57ff99
commit
9cb0932eaa
22 changed files with 849 additions and 176 deletions
|
@ -1026,6 +1026,11 @@ NumbersAndOperatorsEnum StandardCalculatorViewModel::MapCharacterToButtonId(cons
|
|||
return mappedValue;
|
||||
}
|
||||
|
||||
void StandardCalculatorViewModel::OnInputChanged()
|
||||
{
|
||||
IsInputEmpty = m_standardCalculatorManager.IsInputEmpty();
|
||||
}
|
||||
|
||||
void StandardCalculatorViewModel::OnMemoryButtonPressed()
|
||||
{
|
||||
m_standardCalculatorManager.MemorizeNumber();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue