Skip to content

Commit eaad4f7

Browse files
committed
remove unnecessary checks for dom rects
1 parent f34a9ba commit eaad4f7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib/dom.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ function isTransformableElement(element) {
145145
function equalDomRects(a, b) {
146146
return (
147147
a && b &&
148-
a.x === b.x &&
149-
a.y === b.y &&
150148
a.top === b.top &&
151149
a.left === b.left &&
152150
a.right === b.right &&

0 commit comments

Comments
 (0)