mirror of
https://github.com/microsoft/terminal.git
synced 2026-04-04 20:00:21 -04:00
minor cleanup
This commit is contained in:
@@ -1268,8 +1268,8 @@ namespace winrt::TerminalApp::implementation
|
||||
{
|
||||
// The toast Activated callback runs on a background thread.
|
||||
// Marshal to the UI thread for tab focus and window summon.
|
||||
page->Dispatcher().RunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority::Normal, [weakPage{ page->get_weak() }, weakTab]() {
|
||||
if (const auto p{ weakPage.get() })
|
||||
page->Dispatcher().RunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority::Normal, [weakThis, weakTab]() {
|
||||
if (const auto p{ weakThis.get() })
|
||||
{
|
||||
if (const auto t{ weakTab.get() })
|
||||
{
|
||||
|
||||
@@ -1622,7 +1622,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
|
||||
}
|
||||
|
||||
// Method Description:
|
||||
// - Called for the Terminal's TitleChanged callback.This will re-raise
|
||||
// - Called for the Terminal's TitleChanged callback. This will re-raise
|
||||
// a new winrt TypedEvent that can be listened to.
|
||||
// - The listeners to this event will re-query the control for the current
|
||||
// value of Title().
|
||||
|
||||
Reference in New Issue
Block a user