Fix tracing button not receiving focus after the 'esc' key is used to exit tracing mode (#1272)
This commit is contained in:
		@@ -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;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user