start to support live mode (#73)

1. add a liveMode flag to config, when liveMode is set, the timer
will keep running even though all the actions casted
2. add a public method addEvent, which will cast newly added event
in sync
3. move mouse in sync mode with the latest position info
This commit is contained in:
yz-yu
2019-05-26 16:02:52 +08:00
committed by GitHub
parent e8de7435eb
commit 2398f5c0b1
5 changed files with 14 additions and 3 deletions

View File

@@ -241,6 +241,7 @@ export type playerConfig = {
showWarning: boolean;
showDebug: boolean;
blockClass: string;
liveMode: boolean;
};
export type playerMetaData = {