pds-dev-kit-web-test 2.7.480 → 2.7.481
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.
|
@@ -100,7 +100,7 @@ function getGridAreaFromCB(props, device) {
|
|
|
100
100
|
var colStart_1 = CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX + 1;
|
|
101
101
|
var rowStart_1 = CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY + 1;
|
|
102
102
|
var rowEnd_1 = rows + rowStart_1;
|
|
103
|
-
var colEnd_1 = cols + colStart_1;
|
|
103
|
+
var colEnd_1 = Math.min(25, cols + colStart_1);
|
|
104
104
|
// <grid-row-start> / <grid-column-start> / <grid-row-end> / <grid-column-end>;
|
|
105
105
|
return "".concat(rowStart_1, " / ").concat(colStart_1, " / ").concat(rowEnd_1, " / ").concat(colEnd_1);
|
|
106
106
|
}
|
|
@@ -111,7 +111,7 @@ function getGridAreaFromCB(props, device) {
|
|
|
111
111
|
var colStart = startXMobile + 1;
|
|
112
112
|
var rowStart = startYMobile + 1;
|
|
113
113
|
var rowEnd = rowsMobile + rowStart;
|
|
114
|
-
var colEnd = colsMobile + colStart;
|
|
114
|
+
var colEnd = Math.min(9, colsMobile + colStart);
|
|
115
115
|
return "".concat(rowStart, " / ").concat(colStart, " / ").concat(rowEnd, " / ").concat(colEnd);
|
|
116
116
|
}
|
|
117
117
|
exports.getGridAreaFromCB = getGridAreaFromCB;
|