Skip to content

Commit 93ccdee

Browse files
committed
Improve comments
1 parent adbef0d commit 93ccdee

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,15 +219,15 @@ private async void OnLoaded(object sender, RoutedEventArgs _)
219219
}
220220
};
221221

222-
// QueryTextBox.Text 변경 감지 (글자 수 1 이상일 때만 동작하도록 수정)
222+
// QueryTextBox.Text change detection (modified to only work when character count is 1 or higher)
223223
QueryTextBox.TextChanged += (sender, e) => UpdateClockPanelVisibility();
224224

225-
// ContextMenu.Visibility 변경 감지
225+
// Detecting ContextMenu.Visibility changes
226226
DependencyPropertyDescriptor
227227
.FromProperty(VisibilityProperty, typeof(ContextMenu))
228228
.AddValueChanged(ContextMenu, (s, e) => UpdateClockPanelVisibility());
229229

230-
// History.Visibility 변경 감지
230+
// Detect History.Visibility changes
231231
DependencyPropertyDescriptor
232232
.FromProperty(VisibilityProperty, typeof(StackPanel)) // History는 StackPanel이라고 가정
233233
.AddValueChanged(History, (s, e) => UpdateClockPanelVisibility());
@@ -242,6 +242,7 @@ private async void OnClosing(object sender, CancelEventArgs e)
242242
e.Cancel = true;
243243
await PluginManager.DisposePluginsAsync();
244244
Notification.Uninstall();
245+
// After plugins are all disposed, we can close the main window
245246
_canClose = true;
246247
Close();
247248
}

0 commit comments

Comments
 (0)