Skip to content

Conversation

@sigvef
Copy link
Member

@sigvef sigvef commented Jul 1, 2023

Store cuePoints across page loads

This way, you don't need to set your cue points again and again.

This way, you don't need to set your cue points again and again.
@stianjensen stianjensen self-assigned this Jul 3, 2023
'renin:stored',
JSON.stringify({
frame: this.frame,
cuePoints: this.cuePoints.length > 0 ? this.cuePoints : null,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR only stores cuePoints, but doesn't read them?

if (this.options.productionMode) {
return false;
}
localStorage.setItem(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How often is this function called – will this localStorage add a noticeable penalty on the update loop in dev mode? 🤔

@iver56
Copy link
Member

iver56 commented Jul 13, 2023

I'd love to get this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants