Browse Source

Merge branch 'master' into nativehostcontrol-emptybounds-fix

pull/5413/head
Dan Walmsley 6 years ago
committed by GitHub
parent
commit
3029f7f7f8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Windows/Avalonia.Win32/WindowImpl.cs

2
src/Windows/Avalonia.Win32/WindowImpl.cs

@ -958,7 +958,7 @@ namespace Avalonia.Win32
MaximizeWithoutCoveringTaskbar(); MaximizeWithoutCoveringTaskbar();
} }
if (!Design.IsDesignMode) if (!Design.IsDesignMode && activate)
{ {
SetFocus(_hwnd); SetFocus(_hwnd);
} }

Loading…
Cancel
Save