Skip to content

Commit 58caa49

Browse files
committed
fix logic
1 parent 70a24e0 commit 58caa49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ private void InitializePosition()
305305

306306
var currentDpi = GetDpi();
307307

308-
if (previousScreen != default ||
309-
previousDpi != default ||
308+
if (previousScreen == default ||
309+
previousDpi == default ||
310310
(previousScreen != (SystemParameters.VirtualScreenWidth, SystemParameters.VirtualScreenHeight) ||
311311
previousDpi != currentDpi))
312312
{

0 commit comments

Comments
 (0)