mirror of
https://github.com/edubart/otclient.git
synced 2025-12-25 01:07:12 +01:00
Use push/pop mechanism for cursors
This commit is contained in:
@@ -590,9 +590,9 @@ void UITextEdit::onHoverChange(bool hovered)
|
||||
{
|
||||
if(m_changeCursorImage) {
|
||||
if(hovered)
|
||||
g_mouse.setCursor("text");
|
||||
g_mouse.pushCursor("text");
|
||||
else
|
||||
g_mouse.restoreCursor();
|
||||
g_mouse.popCursor("text");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user