Fixed: Tooltip position related to parent window

--HG--
branch : develop
This commit is contained in:
Nimetu 2016-04-23 18:49:36 +03:00
parent a8a697c5dd
commit a1e8408be0

View file

@ -1258,7 +1258,7 @@ namespace NLGUI
getWindowForActiveMasterGroup(newCtrl->getContextHelpWindowName()); getWindowForActiveMasterGroup(newCtrl->getContextHelpWindowName());
uint32 _ScreenH, _ScreenW; uint32 _ScreenH, _ScreenW;
CViewRenderer::getInstance()->getScreenSize( _ScreenH, _ScreenW ); CViewRenderer::getInstance()->getScreenSize( _ScreenW, _ScreenH );
if(ttPosRef==Hotspot_TTAuto || ttParentRef==Hotspot_TTAuto) if(ttPosRef==Hotspot_TTAuto || ttParentRef==Hotspot_TTAuto)
{ {