mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 21:33:10 -07:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue