@nativescript-community/ui-pager 14.1.0 → 14.1.1
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.
- package/index.ios.js +3 -6
- package/package.json +2 -2
package/index.ios.js
CHANGED
@@ -1018,7 +1018,7 @@ var UICollectionViewFlowLinearLayoutImpl = /** @class */ (function (_super) {
|
|
1018
1018
|
UICollectionViewFlowLinearLayoutImpl.prototype.layoutAttributesForElementsInRect = function (rect) {
|
1019
1019
|
var owner = this._owner ? this._owner.get() : null;
|
1020
1020
|
var originalLayoutAttribute = _super.prototype.layoutAttributesForElementsInRect.call(this, rect);
|
1021
|
-
var visibleLayoutAttributes =
|
1021
|
+
var visibleLayoutAttributes = NSMutableArray.alloc().init();
|
1022
1022
|
if (owner && owner.transformers) {
|
1023
1023
|
var transformsArray = owner.transformers
|
1024
1024
|
.split(' ')
|
@@ -1029,13 +1029,10 @@ var UICollectionViewFlowLinearLayoutImpl = /** @class */ (function (_super) {
|
|
1029
1029
|
var count = originalLayoutAttribute.count;
|
1030
1030
|
for (var i = 0; i < count; i++) {
|
1031
1031
|
var attributes = originalLayoutAttribute.objectAtIndex(i);
|
1032
|
-
visibleLayoutAttributes
|
1032
|
+
visibleLayoutAttributes.addObject(attributes);
|
1033
1033
|
for (var _i = 0, transformsArray_1 = transformsArray; _i < transformsArray_1.length; _i++) {
|
1034
1034
|
var transformer = transformsArray_1[_i];
|
1035
|
-
|
1036
|
-
if (nativeTransformer) {
|
1037
|
-
nativeTransformer(i, attributes, owner, collectionView);
|
1038
|
-
}
|
1035
|
+
transformer(i, attributes, owner, collectionView);
|
1039
1036
|
}
|
1040
1037
|
}
|
1041
1038
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nativescript-community/ui-pager",
|
3
|
-
"version": "14.1.
|
3
|
+
"version": "14.1.1",
|
4
4
|
"description": "A NativeScript Pager / Carousel component that allows the user to swipe left and right through pages of data. ",
|
5
5
|
"main": "index",
|
6
6
|
"typings": "index.d.ts",
|
@@ -67,5 +67,5 @@
|
|
67
67
|
},
|
68
68
|
"license": "Apache-2.0",
|
69
69
|
"readmeFilename": "README.md",
|
70
|
-
"gitHead": "
|
70
|
+
"gitHead": "246cdb92f2198ae8a2e02a5a7f18a095f74d8090"
|
71
71
|
}
|