Fix tracing button not receiving focus after the 'esc' key is used to exit tracing mode (#1272)
This commit is contained in:
parent
db15b602f9
commit
8f56ad0dc6
@ -635,6 +635,7 @@ void CalculatorApp::GraphingCalculator::ActiveTracing_KeyUp(Windows::UI::Core::C
|
|||||||
if (args->VirtualKey == VirtualKey::Escape)
|
if (args->VirtualKey == VirtualKey::Escape)
|
||||||
{
|
{
|
||||||
GraphingControl->ActiveTracing = false;
|
GraphingControl->ActiveTracing = false;
|
||||||
|
ActiveTracing->Focus(::FocusState::Programmatic);
|
||||||
args->Handled = true;
|
args->Handled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user