Browse Source

Start11: Fixed a bug that prevented the menu from working when the setting "Disable Recommended section" is used and the display scaling is 125%

Related issue: https://github.com/valinet/ExplorerPatcher/issues/1118
pull/1648/head
Valentin Radu 3 years ago
parent
commit
5649a83739
  1. 4
      ExplorerPatcher/lvt.c

4
ExplorerPatcher/lvt.c

@ -573,9 +573,9 @@ void LVT_StartDocked_120DPIHack(int maxHeight) @@ -573,9 +573,9 @@ void LVT_StartDocked_120DPIHack(int maxHeight)
pStartSizingFrame->lpVtbl->QueryInterface(pStartSizingFrame, &IID_Windows_UI_Xaml_IFrameworkElement, &pFrameworkElement);
if (pFrameworkElement)
{
pIUIElement->lpVtbl->put_Visibility(pIUIElement, Windows_UI_Xaml_Visibility_Collapsed);
if (!IsWindows11Version22H2Build1413OrHigher()) pIUIElement->lpVtbl->put_Visibility(pIUIElement, Windows_UI_Xaml_Visibility_Collapsed);
pFrameworkElement->lpVtbl->put_MaxHeight(pFrameworkElement, maxHeight);
pIUIElement->lpVtbl->put_Visibility(pIUIElement, Windows_UI_Xaml_Visibility_Visible);
if (!IsWindows11Version22H2Build1413OrHigher()) pIUIElement->lpVtbl->put_Visibility(pIUIElement, Windows_UI_Xaml_Visibility_Visible);
pFrameworkElement->lpVtbl->Release(pFrameworkElement);
}
pIUIElement->lpVtbl->Release(pIUIElement);

Loading…
Cancel
Save