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