Rework Macro constructors to support passing GlobalMacroSettings

This commit is contained in:
WarmUpTill
2025-04-22 19:57:33 +02:00
committed by WarmUpTill
parent 232cbb06f6
commit 9e20b341d8
3 changed files with 18 additions and 11 deletions

View File

@@ -86,9 +86,7 @@ bool AdvSceneSwitcher::AddNewMacro(std::shared_ptr<Macro> &res,
return false;
}
res = std::make_shared<Macro>(
name, GetGlobalMacroSettings()._newMacroRegisterHotkeys,
GetGlobalMacroSettings()._newMacroUseShortCircuitEvaluation);
res = std::make_shared<Macro>(name, GetGlobalMacroSettings());
return true;
}