mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
add missing event
This commit is contained in:
@@ -45,6 +45,8 @@ SettingsMainWindow::SettingsMainWindow(BattleInterface * parentBattleUi) : Inter
|
||||
addCallback("closeWindow", [this](int) { backButtonCallback(); });
|
||||
build(config);
|
||||
|
||||
addUsedEvents(INPUT_MODE_CHANGE);
|
||||
|
||||
std::shared_ptr<CIntObject> background = widget<CIntObject>("background");
|
||||
pos.w = background->pos.w;
|
||||
pos.h = background->pos.h;
|
||||
|
||||
Reference in New Issue
Block a user