Skip to content

Commit

Permalink
Added workaround for white flash when controls load
Browse files Browse the repository at this point in the history
  • Loading branch information
Molanda committed Jul 18, 2023
1 parent d236853 commit ab6e82d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FlashProxy/FlashProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ FlashProxyModule::FlashProxyModule():
m_visible(false),
m_hidden(false)
{
SetEnvironmentVariable(L"WEBVIEW2_DEFAULT_BACKGROUND_COLOR", L"0x00000000");

WNDCLASSEX childClass = {0};
childClass.cbSize = sizeof(WNDCLASSEX);
childClass.style = CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS;
Expand Down

0 comments on commit ab6e82d

Please sign in to comment.