nativescript-material-core
Advanced tools
Comparing version 3.2.2 to 3.2.3
@@ -6,2 +6,10 @@ # Change Log | ||
## [3.2.3](https://github.com/Akylas/nativescript-material-components/compare/v3.2.2...v3.2.3) (2020-05-12) | ||
**Note:** Version bump only for package nativescript-material-core | ||
## [3.2.2](https://github.com/Akylas/nativescript-material-components/compare/v3.2.1...v3.2.2) (2020-04-20) | ||
@@ -8,0 +16,0 @@ |
@@ -167,5 +167,5 @@ "use strict"; | ||
}; | ||
ViewWithElevationAndRipple.prototype[cssproperties_1.elevationProperty.getDefault] = function () { | ||
return this.getDefaultElevation(); | ||
}; | ||
// [elevationProperty.getDefault](): number { | ||
// return this.getDefaultElevation(); | ||
// } | ||
ViewWithElevationAndRipple.prototype[cssproperties_1.elevationProperty.setNative] = function (value) { | ||
@@ -176,8 +176,9 @@ if (utils_1.isPostLollipop()) { | ||
else { | ||
this.nativeViewProtected.setElevation(value); | ||
var newValue = style_properties_1.Length.toDevicePixels(typeof value === 'string' ? style_properties_1.Length.parse(value) : value, 0); | ||
this.nativeViewProtected.setElevation(newValue); | ||
} | ||
}; | ||
ViewWithElevationAndRipple.prototype[cssproperties_1.dynamicElevationOffsetProperty.getDefault] = function () { | ||
return this.getDefaultDynamicElevationOffset(); | ||
}; | ||
// [dynamicElevationOffsetProperty.getDefault](): number { | ||
// return this.getDefaultDynamicElevationOffset(); | ||
// } | ||
ViewWithElevationAndRipple.prototype[cssproperties_1.dynamicElevationOffsetProperty.setNative] = function (value) { | ||
@@ -189,3 +190,4 @@ this.nativeViewProtected.setClickable(this.isUserInteractionEnabled); | ||
else { | ||
this.nativeViewProtected.setTranslationZ(value); | ||
var newValue = style_properties_1.Length.toDevicePixels(typeof value === 'string' ? style_properties_1.Length.parse(value) : value, 0); | ||
this.nativeViewProtected.setTranslationZ(newValue); | ||
} | ||
@@ -192,0 +194,0 @@ }; |
{ | ||
"name": "nativescript-material-core", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "Material Core component", | ||
@@ -34,3 +34,3 @@ "main": "./core", | ||
"readmeFilename": "README.md", | ||
"gitHead": "e0f71698d2e28b94a91b730c9eaef1a4265d6a80" | ||
"gitHead": "2c111dcd91b4039944a606fae4aee0e36afe070c" | ||
} |
Sorry, the diff of this file is not supported yet
146741
1226