mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Replaced clickLeft with clickPressed clickReleased methods
This commit is contained in:
@@ -143,13 +143,12 @@ void CMinimap::gesturePanning(const Point & initialPosition, const Point & curre
|
||||
moveAdvMapSelection(currentPosition);
|
||||
}
|
||||
|
||||
void CMinimap::clickLeft(tribool down, bool previousState)
|
||||
void CMinimap::clickPressed(const Point & cursorPosition)
|
||||
{
|
||||
if(down)
|
||||
moveAdvMapSelection(GH.getCursorPosition());
|
||||
moveAdvMapSelection(cursorPosition);
|
||||
}
|
||||
|
||||
void CMinimap::showPopupWindow()
|
||||
void CMinimap::showPopupWindow(const Point & cursorPosition)
|
||||
{
|
||||
CRClickPopup::createAndPush(CGI->generaltexth->zelp[291].second);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user