1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Renamed RCLICK -> SHOW_POPUP

This commit is contained in:
Ivan Savenko
2023-06-13 19:33:35 +03:00
parent 8ad577255f
commit 563d7dd41f
25 changed files with 35 additions and 35 deletions

View File

@@ -236,7 +236,7 @@ CButton::CButton(Point position, const std::string &defName, const std::pair<std
callback(Callback)
{
defActions = 255-DISPOSE;
addUsedEvents(LCLICK | RCLICK | HOVER | KEYBOARD);
addUsedEvents(LCLICK | SHOW_POPUP | HOVER | KEYBOARD);
stateToIndex[0] = 0;
stateToIndex[1] = 1;