publ-echo-test 0.0.296 → 0.0.298
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -136,7 +136,6 @@ var Resizable = function (_a) {
|
|
136
136
|
}
|
137
137
|
if (isContentsList && oneComposition) {
|
138
138
|
var minCellWidth = 10;
|
139
|
-
var minColHeight = 11;
|
140
139
|
var numberOfItems = Number(target.getAttribute("data-number-of-items"));
|
141
140
|
var numberOfColumns = Number(target.getAttribute("data-number-of-columns"));
|
142
141
|
var rowGap = Number(target.getAttribute("data-row-gap"));
|
@@ -144,7 +143,9 @@ var Resizable = function (_a) {
|
|
144
143
|
var insetTop = Number(target.getAttribute("data-inset-top"));
|
145
144
|
var insetBottom = Number(target.getAttribute("data-inset-bottom"));
|
146
145
|
var compositionCols = Number(oneComposition.getAttribute("data-cols"));
|
147
|
-
|
146
|
+
// const compositionRows = Number(
|
147
|
+
// oneComposition.getAttribute("data-rows")!
|
148
|
+
// );
|
148
149
|
var oneCompositionMinWidth = minCellWidth * compositionCols + 20; /* 20px padding */
|
149
150
|
// let oneCompositionMinHeight =
|
150
151
|
// minColHeight * compositionRows + 20; /* 20px padding */
|
@@ -333,6 +334,7 @@ var Resizable = function (_a) {
|
|
333
334
|
if (autoResize && minHeight.current === height) {
|
334
335
|
handleAxis = removeNorthHandle(handleAxis);
|
335
336
|
}
|
337
|
+
console.log("deltax deltay", deltaX, deltaY);
|
336
338
|
_c = checkTopLeft(deltaX, deltaY, top, left, width, height, handleAxis), top = _c[0], left = _c[1];
|
337
339
|
var isDimensionsChanged = width !== props.width || height !== props.height;
|
338
340
|
var cb = typeof props[handlerName] === "function" ? props[handlerName] : null;
|