mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-26 11:55:28 -05:00
Do not allow running paused macros
The old behaviour was not consistent with the other action types. (E.g. "Sequence" or "Random" ignore paused macros) It would also only ever execute the first action of the given macro as afterwards the plugin would realise the macro is paused and abort the execution.
This commit is contained in:
parent
85bb0e62dc
commit
cca32e59c2
|
|
@ -36,7 +36,9 @@ bool MacroActionMacro::PerformAction()
|
|||
_macro->ResetCount();
|
||||
break;
|
||||
case PerformMacroAction::RUN:
|
||||
_macro->PerformActions();
|
||||
if (!_macro->Paused()) {
|
||||
_macro->PerformActions();
|
||||
}
|
||||
break;
|
||||
case PerformMacroAction::STOP:
|
||||
_macro->Stop();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user