We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4ad34 commit fc05c52Copy full SHA for fc05c52
packages/browser-integration-tests/suites/replay/canvas/withCustomOptions/init.js
packages/browser-integration-tests/suites/replay/canvas/withCustomOptions/test.ts
packages/replay/src/canvas.ts
@@ -21,12 +21,14 @@ export class ReplayCanvas implements Integration {
21
22
private _canvasOptions: ReplayCanvasOptions;
23
24
- public constructor(options?: Partial<ReplayCanvasOptions>) {
+ public constructor() {
25
this.name = ReplayCanvas.id;
26
+ // TODO FN: Allow to configure this
27
+ // But since we haven't finalized how to configure this, this is predefined for now
28
+ // to avoid breaking changes
29
this._canvasOptions = {
30
fps: 4,
31
quality: 0.6,
- ...options,
32
};
33
}
34
0 commit comments