better looking active states + always scroll to latest event

This commit is contained in:
Joeri Exelmans 2025-10-18 16:39:57 +02:00
parent 12e211f358
commit f80086727c
3 changed files with 27 additions and 9 deletions

View file

@ -119,7 +119,7 @@ export function enterDefault(simtime: number, state: ConcreteState, rt: ActionSc
({enteredStates: enteredChildren, ...actionScope} = enterDefault(simtime, state.initial[0][1], actionScope));
enteredStates = enteredStates.union(enteredChildren);
}
console.warn(state.uid + ': no initial state');
// console.warn(state.uid + ': no initial state');
}
return {enteredStates, ...actionScope};
@ -328,7 +328,7 @@ export function fireSecondHalfOfTransition(simtime: number, t: Transition, ts: M
}
}
}
throw new Error("stuck in pseudo-state!!")
throw new Error("stuck in pseudo-state!!");
}
else {
const tgtPath = computePath({ancestor: arena, descendant: t.tgt});