mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-23 23:21:08 +01:00
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
This commit is contained in:
parent
4e55feefc3
commit
5649a83739
@ -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…
Reference in New Issue
Block a user