forked from mirror/openmw-tes3mp
Fix tooltips showing when cursor isn't visible
This commit is contained in:
parent
14c9e858c8
commit
7bb0a76df2
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ namespace MWGui
|
||||||
|
|
||||||
if (guiMode)
|
if (guiMode)
|
||||||
{
|
{
|
||||||
|
if (!MWBase::Environment::get().getWindowManager()->getCursorVisible())
|
||||||
|
return;
|
||||||
const MyGUI::IntPoint& mousePos = MyGUI::InputManager::getInstance().getMousePosition();
|
const MyGUI::IntPoint& mousePos = MyGUI::InputManager::getInstance().getMousePosition();
|
||||||
|
|
||||||
if (MWBase::Environment::get().getWindowManager()->getWorldMouseOver() && ((MWBase::Environment::get().getWindowManager()->getMode() == GM_Console)
|
if (MWBase::Environment::get().getWindowManager()->getWorldMouseOver() && ((MWBase::Environment::get().getWindowManager()->getMode() == GM_Console)
|
||||||
|
|
Loading…
Reference in a new issue