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

Function isRectEqual

modular/sortable.core.esm.js:467–469  ·  view source on GitHub ↗
(rect1, rect2)

Source from the content-addressed store, hash-verified

465 return dst;
466}
467function isRectEqual(rect1, rect2) {
468 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);
469}
470var _throttleTimeout;
471function throttle(callback, ms) {
472 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…