Skip to content

Commit

Permalink
WinUpdater: Create updater window as hidden by default
Browse files Browse the repository at this point in the history
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 f70efbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/WinUpdater/WinUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f70efbb

Please sign in to comment.