Commit f9d4bc02 authored by bitplane's avatar bitplane

CWin32CursorControl::setVisible fix by MasterGod

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1208 dfc29bdd-3216-0410-991c-e03cc46cb475
parent e9fe5ab4
...@@ -91,6 +91,8 @@ namespace irr ...@@ -91,6 +91,8 @@ namespace irr
virtual void setVisible(bool visible) virtual void setVisible(bool visible)
{ {
IsVisible = visible; IsVisible = visible;
updateInternalCursorPosition();
setPosition(CursorPos.X, CursorPos.Y);
} }
//! Returns if the cursor is currently visible. //! Returns if the cursor is currently visible.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment