diff options
| author | Silent <zdanio95@gmail.com> | 2019-08-05 21:46:00 +0200 |
|---|---|---|
| committer | Silent <zdanio95@gmail.com> | 2019-08-05 21:47:05 +0200 |
| commit | f70efbb9637167315451915b28fffaa36ce73560 (patch) | |
| tree | 29ead8879c32375a72a1282c21fa6d2ff973ee1c /Source/Core/WinUpdater/WinUI.cpp | |
| parent | 24718c1a389e4f51db974575cd15c372485b92e2 (diff) | |
WinUpdater: Create updater window as hidden by default
UpdaterCommon attempts to hide updater window directly after creating,
so creating it hidden avoids the window from showing for a split second
Diffstat (limited to 'Source/Core/WinUpdater/WinUI.cpp')
| -rw-r--r-- | Source/Core/WinUpdater/WinUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/WinUpdater/WinUI.cpp b/Source/Core/WinUpdater/WinUI.cpp index 97f2da459b..6958be9d40 100644 --- a/Source/Core/WinUpdater/WinUI.cpp +++ b/Source/Core/WinUpdater/WinUI.cpp @@ -45,7 +45,7 @@ LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) }; // namespace constexpr int PROGRESSBAR_FLAGS = WS_VISIBLE | WS_CHILD | PBS_SMOOTH | PBS_SMOOTHREVERSE; -constexpr int WINDOW_FLAGS = WS_VISIBLE | WS_CLIPCHILDREN; +constexpr int WINDOW_FLAGS = WS_CLIPCHILDREN; constexpr int PADDING_HEIGHT = 5; namespace UI |
