Initial effects

This commit is contained in:
osiu97
2026-07-08 21:02:48 +02:00
parent 1a94ca3947
commit 0ef1e99daf
8 changed files with 243 additions and 78 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ export default {
get isRunning() { return isRunning; },
stop() { isRunning = false; },
async run(sequence, spotsData, currentSteps1, currentSteps2, onStepComplete) {
async run(sequence, spotsData, currentSteps1, currentSteps2, mode, onStepComplete) {
if (isRunning) {
UI.log('A sequence is already running.', 'warn');
return false;
@@ -55,7 +55,7 @@ export default {
UI.log(`Seq step: ${label}`, 'info');
const success = await Motion.goto(targetX, targetY, step.mode || 'direct');
const success = await Motion.goto(targetX, targetY, mode || 'direct');
if (!success) {
isRunning = false;
return false;