forked from bartvdbraak/blender
Fixes: #22064 When the Windows task bar is placed on top of the screen, Blender "User Preferences" opens with the title bar underneath it
I applied the patch provided by Charlie Shen in the comments of the bug report
This commit is contained in:
parent
84d3856498
commit
e2585355c3
@ -162,7 +162,7 @@ GHOST_WindowWin32::GHOST_WindowWin32(
|
|||||||
height = th;
|
height = th;
|
||||||
top = rect.top;
|
top = rect.top;
|
||||||
}
|
}
|
||||||
else if(top > rect.top)
|
else if(top < rect.top)
|
||||||
top = rect.top;
|
top = rect.top;
|
||||||
|
|
||||||
m_hWnd = ::CreateWindow(
|
m_hWnd = ::CreateWindow(
|
||||||
|
Loading…
Reference in New Issue
Block a user