perf: replace Dispatcher.Invoke with Dispatcher.BeginInvoke to avoid UI blocking
This commit is contained in:
parent
546ef4bc76
commit
f3c73f7a1a
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ public partial class MainWindow : Window
|
|||
|
||||
private void ViewModel_FullScreenChanged(object? sender, bool enable)
|
||||
{
|
||||
Dispatcher.Invoke(() =>
|
||||
Dispatcher.BeginInvoke((Action)(() =>
|
||||
{
|
||||
if (enable)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue