mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Refactoring of button class to prepare for configurable button
This commit is contained in:
@@ -260,7 +260,7 @@ CMenuEntry::CMenuEntry(CMenuScreen * parent, const JsonNode & config)
|
||||
for(const JsonNode & node : config["buttons"].Vector())
|
||||
{
|
||||
buttons.push_back(createButton(parent, node));
|
||||
buttons.back()->hoverable = true;
|
||||
buttons.back()->setHoverable(true);
|
||||
buttons.back()->setRedrawParent(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user