Browse Source

StartUI: Fixed a bug that prevented the menu from displaying when not using rounded corners

pull/996/head
Valentin Radu 4 years ago
parent
commit
8a5ff2f98b
  1. 3
      ExplorerPatcher/lvt.c

3
ExplorerPatcher/lvt.c

@ -159,8 +159,6 @@ void LVT_StartUI_EnableRoundedCorners(HWND hWnd, DWORD dwReceipe, DWORD dwPos, H @@ -159,8 +159,6 @@ void LVT_StartUI_EnableRoundedCorners(HWND hWnd, DWORD dwReceipe, DWORD dwPos, H
{
int location = LVT_LOC_NONE;
if (dwReceipe)
{
Windows_UI_Xaml_Thickness drc;
drc.Left = 0.0; drc.Right = 0.0; drc.Top = 0.0; drc.Bottom = 0.0;
Windows_UI_Xaml_IUIElement* pIUIElement = NULL;
@ -217,7 +215,6 @@ void LVT_StartUI_EnableRoundedCorners(HWND hWnd, DWORD dwReceipe, DWORD dwPos, H @@ -217,7 +215,6 @@ void LVT_StartUI_EnableRoundedCorners(HWND hWnd, DWORD dwReceipe, DWORD dwPos, H
{
pIUIElement->lpVtbl->Release(pIUIElement);
}
}
Windows_UI_Xaml_IDependencyObject* pStartSizingFramePanel = LVT_FindChildByClassName(pStartSizingFrame, pVisualTreeHelperStatics, L"StartUI.StartSizingFramePanel", NULL);
if (pStartSizingFramePanel)
{

Loading…
Cancel
Save