fix(codegen): do not show recorder controls in iframes (#5282)
This commit is contained in:
parent
080a9529b3
commit
fa1cf4108b
|
|
@ -198,7 +198,8 @@ export class Recorder {
|
|||
}, true),
|
||||
];
|
||||
document.documentElement.appendChild(this._outerGlassPaneElement);
|
||||
document.documentElement.appendChild(this._outerToolbarElement);
|
||||
if (window.top === window)
|
||||
document.documentElement.appendChild(this._outerToolbarElement);
|
||||
}
|
||||
|
||||
private _toggleRecording() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue