Skip to content
Permalink
Browse files

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
  • Loading branch information...
CookiePLMonster committed Aug 5, 2019
1 parent 24718c1 commit f70efbb9637167315451915b28fffaa36ce73560
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit f70efbb

Please sign in to comment.
You can’t perform that action at this time.