@nativescript-community/ui-material-ripple
Advanced tools
Comparing version 5.2.8 to 5.2.9
@@ -6,2 +6,10 @@ # Change Log | ||
## [5.2.9](https://github.com/nativescript-community/ui-material-components/tree/master/packages/ripple/compare/v5.2.8...v5.2.9) (2021-03-18) | ||
**Note:** Version bump only for package @nativescript-community/ui-material-ripple | ||
## [5.2.8](https://github.com/nativescript-community/ui-material-components/tree/master/packages/ripple/compare/v5.2.7...v5.2.8) (2021-02-24) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@nativescript-community/ui-material-ripple", | ||
"version": "5.2.8", | ||
"version": "5.2.9", | ||
"description": "The Material Design Ripple component provides a radial action in the form of a visual ripple expanding outward from the user's touch. Ripple is a visual form of feedback for touch events providing users a clear signal that an element is being touched.", | ||
@@ -45,5 +45,5 @@ "main": "./ripple", | ||
"dependencies": { | ||
"@nativescript-community/ui-material-core": "^5.2.8" | ||
"@nativescript-community/ui-material-core": "^5.2.9" | ||
}, | ||
"gitHead": "ec3a4203c0de76d56814e72cfd32e7bd3c077a40" | ||
"gitHead": "dd334ef318a274341a4197a52315b3d84d74bf0d" | ||
} |
@@ -6,5 +6,2 @@ import { RippleBase } from './ripple-common'; | ||
createNativeView(): globalAndroid.view.View; | ||
forceSetOnTouchListener: boolean; | ||
hasGestureObservers(): boolean; | ||
initNativeView(): void; | ||
rippleDrawable: android.graphics.drawable.Drawable; | ||
@@ -11,0 +8,0 @@ getRippleColor(): any; |
@@ -163,6 +163,2 @@ import { getRippleColor, rippleColorProperty, themer } from '@nativescript-community/ui-material-core'; | ||
export class Ripple extends RippleBase { | ||
constructor() { | ||
super(...arguments); | ||
this.forceSetOnTouchListener = false; | ||
} | ||
createNativeView() { | ||
@@ -173,14 +169,2 @@ const view = super.createNativeView(); | ||
} | ||
hasGestureObservers() { | ||
if (this.forceSetOnTouchListener) { | ||
return true; | ||
} | ||
return super.hasGestureObservers(); | ||
} | ||
initNativeView() { | ||
this.forceSetOnTouchListener = true; | ||
this.setOnTouchListener(); | ||
this.forceSetOnTouchListener = false; | ||
super.initNativeView(); | ||
} | ||
getRippleColor() { | ||
@@ -187,0 +171,0 @@ if (this.rippleColor) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74710
379