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

Function isRectEqual

Sortable.js:473–475  ·  view source on GitHub ↗
(rect1, rect2)

Source from the content-addressed store, hash-verified

471 return dst;
472 }
473 function isRectEqual(rect1, rect2) {
474 return Math.round(rect1.top) === Math.round(rect2.top) && Math.round(rect1.left) === Math.round(rect2.left) && Math.round(rect1.height) === Math.round(rect2.height) && Math.round(rect1.width) === Math.round(rect2.width);
475 }
476 var _throttleTimeout;
477 function throttle(callback, ms) {
478 return function () {

Callers 1

AnimationStateManagerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…