Select the equation when the EquationTextBox has focus and during analysis (#1067)

* Select equation on focus

* PR comment
This commit is contained in:
Pepe Rivera
2020-03-12 10:12:01 -07:00
committed by GitHub
parent a2794b3705
commit 102782df47
7 changed files with 75 additions and 27 deletions

View File

@@ -158,7 +158,7 @@ public
{
auto equation = static_cast<Equation ^>(sender);
auto propertyName = args->PropertyName;
if (propertyName == GraphControl::Equation::LineColorPropertyName)
if (propertyName == GraphControl::Equation::LineColorPropertyName || propertyName == GraphControl::Equation::IsSelectedPropertyName)
{
EquationStyleChanged(equation);
}