fix: inaccurate mouse position (#522)
1. Position of mouse was inaccurate when replaying and this PR will fix it. 2. Fix the bug that if one nested iframe has a scale transform and the position of mouse was inaccurate as well.
This commit is contained in:
2
typings/utils.d.ts
vendored
2
typings/utils.d.ts
vendored
@@ -61,5 +61,5 @@ export declare type AppendedIframe = {
|
||||
builtNode: HTMLIFrameINode;
|
||||
};
|
||||
export declare function isIframeINode(node: INode): node is HTMLIFrameINode;
|
||||
export declare function getBaseDimension(node: Node): DocumentDimension;
|
||||
export declare function getBaseDimension(node: Node, rootIframe: Node): DocumentDimension;
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user