Merge pull request #1079 from openreplay/dev
change(ui) - default player speed to 1
This commit is contained in:
commit
d19c4e2b1a
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ const SKIP_TO_ISSUE_STORAGE_KEY = "__$session-skipToIssue$__"
|
|||
const AUTOPLAY_STORAGE_KEY = "__$player-autoplay$__"
|
||||
const SHOW_EVENTS_STORAGE_KEY = "__$player-show-events$__"
|
||||
const storedSpeed: number = typedLocalStorage.number(SPEED_STORAGE_KEY)
|
||||
const initialSpeed = [0.5, 1, 2, 4, 8, 16].includes(storedSpeed) ? storedSpeed : 0.5
|
||||
const initialSpeed = [0.5, 1, 2, 4, 8, 16].includes(storedSpeed) ? storedSpeed : 1
|
||||
const initialSkip = typedLocalStorage.boolean(SKIP_STORAGE_KEY)
|
||||
const initialSkipToIssue = typedLocalStorage.boolean(SKIP_TO_ISSUE_STORAGE_KEY)
|
||||
const initialAutoplay = typedLocalStorage.boolean(AUTOPLAY_STORAGE_KEY)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue