diff --git a/src/config_ui/main.cpp b/src/config_ui/main.cpp index 1d7c0fd..b26c648 100644 --- a/src/config_ui/main.cpp +++ b/src/config_ui/main.cpp @@ -888,8 +888,11 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE, PWSTR lpCmdLine, int) { int wx = wa.left + ((wa.right - wa.left) - ww) / 2; int wy = wa.top + ((wa.bottom - wa.top) - wh) / 2; SetWindowPos(hwnd, nullptr, wx, wy, ww, wh, SWP_NOZORDER); - ShowWindow(hwnd, SW_SHOW); + // Outline colour and background BEFORE the first show (#326): the window used to appear with DWM's default, + // stronger border until the WebView was ready and ApplyWindowTheme ran. g_hwnd = hwnd; + ApplyWindowTheme(); + ShowWindow(hwnd, SW_SHOW); g_onboard = onboard; CreateWebView(hwnd); MSG msg; while (GetMessageW(&msg, nullptr, 0, 0)) { TranslateMessage(&msg); DispatchMessageW(&msg); } diff --git a/src/version.h b/src/version.h index 0971ade..2b9524c 100644 --- a/src/version.h +++ b/src/version.h @@ -4,7 +4,7 @@ #define WIND_VER_MAJOR 0 #define WIND_VER_MINOR 20 -#define WIND_VER_PATCH 0 +#define WIND_VER_PATCH 1 // String form for logs/snapshot/UI. Keep in sync with the numeric parts above. -#define WIND_VERSION_STR "0.20.0" +#define WIND_VERSION_STR "0.20.1" diff --git a/ui/src/controls/PanBinding.svelte b/ui/src/controls/PanBinding.svelte index 2798430..10fcd2b 100644 --- a/ui/src/controls/PanBinding.svelte +++ b/ui/src/controls/PanBinding.svelte @@ -74,7 +74,7 @@
{#if state.kind === 'none'} -