remove cancelAnimationFrame complexity and rely on MarkedExecution class

This commit is contained in:
Germain Souquet 2021-06-28 09:24:35 +01:00
parent 09c22c37ff
commit 652e06a7b1
3 changed files with 18 additions and 41 deletions

View file

@ -33,13 +33,6 @@ export class MarkedExecution {
constructor(private fn: () => void, private onMarkCallback?: () => void) {
}
/**
* Getter for the _marked property
*/
public get marked() {
return this._marked;
}
/**
* Resets the mark without calling the function.
*/