Skip to content
Myr

docs: fix `WithFPS` godoc

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by naglis · committed by Christian Rocha · parent c4c83ba · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:options.go+1 added-1 removed
199 unmodified lines
200 p.filter = filter201 }202}203204// WithMaxFPS sets a custom maximum FPS at which the renderer should run. If204// WithFPS sets a custom maximum FPS at which the renderer should run. If205// less than 1, the default value of 60 will be used. If over 120, the FPS206// will be capped at 120.207func WithFPS(fps int) ProgramOption {208 return func(p *Program) {
3 unmodified lines