MCPcopy Index your code
hub / github.com/SortableJS/Sortable / isRectEqual

Function isRectEqual

src/utils.js:471–476  ·  view source on GitHub ↗
(rect1, rect2)

Source from the content-addressed store, hash-verified

469
470
471function isRectEqual(rect1, rect2) {
472 return Math.round(rect1.top) === Math.round(rect2.top) &&
473 Math.round(rect1.left) === Math.round(rect2.left) &&
474 Math.round(rect1.height) === Math.round(rect2.height) &&
475 Math.round(rect1.width) === Math.round(rect2.width);
476}
477
478
479let _throttleTimeout;

Callers 1

animateAllFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…