Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
c298lee committed Jan 17, 2024
1 parent 9f769b4 commit bdb58a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions packages/replay/src/replay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,13 @@ export class ReplayContainer implements ReplayContainerInterface {
return this._isPaused;
}

/**
* Determine if canvas recording is enabled
*/
public isRecordingCanvas(): boolean {
return Boolean(this._canvas);
}

/** Get the replay integration options. */
public getOptions(): ReplayPluginOptions {
return this._options;
Expand Down
2 changes: 1 addition & 1 deletion packages/replay/src/types/rrweb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface CanvasManagerInterface {

export interface CanvasManagerOptions {
recordCanvas: boolean;
isManualSnapshot?: boolean;
enableManualSnapshot?: boolean;
blockClass: string | RegExp;
blockSelector: string | null;
unblockSelector: string | null;
Expand Down

0 comments on commit bdb58a4

Please sign in to comment.