* updated the reset grid logic to track and set the initial range after an equation is added
* When in manual adjustment mode and an equation is added, replot the graph when reset is called
* remove members that are no longer needed
* Added logic to include the PrepareGraph() and removed re-graphing in the ResetGrid method
* skip SetDisplayRanges if TryInitialize returns a nullopt so there is no crash
* Updated the logic to handle the case where the range is updated via settings
* Fix bug with reset view hyperlink
* Updated the logic for graph settings updating the graph range
* Rebased with the latest, fixed issues with the rebase
Author: Stephanie Anderl <46726333+sanderl@users.noreply.github.com>
* Update the internals version of calculator to the latest so that the PrepareGraph API available
* Reset the graph by replotting if the graph range was changed by the user
* When calling SetDisplayRanges, just set Replot to true instead of passing in a parameter
* fixed the trig units radio buttons rounded corners and narrator issues in kgf and graph reset
* removed extra whitespace
* Update src/Calculator/Resources/en-US/Resources.resw
Co-authored-by: Eric Wong <eriwong@microsoft.com>
* Update src/Calculator/Resources/en-US/Resources.resw
Co-authored-by: Eric Wong <eriwong@microsoft.com>
Co-authored-by: Eric Wong <eriwong@microsoft.com>
* Switching from Difference between dates to Add or subtract dates ignores the first date field
https://github.com/microsoft/calculator/issues/254
Date field needs to persist across Date Difference and Add/Subtract From Date Mode.
* Update DateCalculator.xaml.cpp
Addressing review comments (white space, small code refactor), also found a null pointer exception during testing, this fix addresses that as well.
* Issue 935 - Updates to Scientific/Graphing Keypad
Update Scientific and Graphing keyboard layouts to expose square root button at the top level
* Updated ScientificModeFunctionalTests/SmokeTest_Cube()
Updated broken test to work with changes.
* Wrap theme radio buttons in MUXC RadioButtons control to fix accessibility issue where the buttons are grouped with the theme title
* Associated theme labels with radio button groups
* Update EquationButton automation name and tooltips
* added tooltips to the stylepicker and fixed the issue where the color name did not update for dark mode colors
* Update src/Calculator/Resources/en-US/Resources.resw
Co-Authored-By: ItzLevvie <11600822+ItzLevvie@users.noreply.github.com>
* fixed the issue where the colors are only listed as black in the tooltip and automation name
* Add tooltips for high contrast colors
Co-authored-by: ItzLevvie <11600822+ItzLevvie@users.noreply.github.com>
* Fixed contrast between background and foreground colors in the equation button. Fixed the issue where the text in the equation text box is white when the background is white
* Adjust the foreground color algorithm
* moved the contrast method to utils so that it is resuable
* Moved brushes for the GetContrastColor method to the app.xaml resource dictionary
* Removed the change for the edit box colors, so it can be in a different PR