mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
Minor changes
Update hovered widget when moving widget Remove lockWalk from g_game.follow()
This commit is contained in:
@@ -845,6 +845,10 @@ bool UIWidget::setRect(const Rect& rect)
|
||||
m_updateEventScheduled = true;
|
||||
}
|
||||
|
||||
// update hovered widget when moved behind mouse area
|
||||
if(containsPoint(g_window.getMousePosition()))
|
||||
g_ui.updateHoveredWidget();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user