Skip to content

Commit bdb58a4

Browse files
committed
fix merge
1 parent 9f769b4 commit bdb58a4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

packages/replay/src/replay.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,13 @@ export class ReplayContainer implements ReplayContainerInterface {
223223
return this._isPaused;
224224
}
225225

226+
/**
227+
* Determine if canvas recording is enabled
228+
*/
229+
public isRecordingCanvas(): boolean {
230+
return Boolean(this._canvas);
231+
}
232+
226233
/** Get the replay integration options. */
227234
public getOptions(): ReplayPluginOptions {
228235
return this._options;

packages/replay/src/types/rrweb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface CanvasManagerInterface {
5656

5757
export interface CanvasManagerOptions {
5858
recordCanvas: boolean;
59-
isManualSnapshot?: boolean;
59+
enableManualSnapshot?: boolean;
6060
blockClass: string | RegExp;
6161
blockSelector: string | null;
6262
unblockSelector: string | null;

0 commit comments

Comments
 (0)