Implement framerate limiter

This commit is contained in:
Eric NGUYEN 2022-08-31 17:27:26 +02:00
parent 8034652bdb
commit f6953e42df
2 changed files with 37 additions and 4 deletions

View file

@ -33,6 +33,7 @@ export const DEFAULT_SYMBOL_HEIGHT = 32;
export const ENABLE_SHORTCUTS = true;
export const MAX_HISTORY = 200;
export const APPLY_BEHAVIORS_ON_CHILDREN = true;
export const MAX_FRAMERATE = 120;
/**
* Returns the default editor state given the configuration