mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-15 18:39:51 +00:00
Don't hide tooltips on mouse click. Probably wasn't such a bright idea.
This commit is contained in:
parent
6aa9e18915
commit
e1e9de0f02
@ -110,11 +110,6 @@ namespace MWGui
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const MyGUI::IntPoint& lastPressed = MyGUI::InputManager::getInstance().getLastPressedPosition(MyGUI::MouseButton::Left);
|
|
||||||
|
|
||||||
if (mousePos == lastPressed) // mouseclick makes tooltip disappear
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (mousePos.left == mLastMouseX && mousePos.top == mLastMouseY)
|
if (mousePos.left == mLastMouseX && mousePos.top == mLastMouseY)
|
||||||
{
|
{
|
||||||
mRemainingDelay -= frameDuration;
|
mRemainingDelay -= frameDuration;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user