Skip to content

Commit

Permalink
Shadow options fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
GIGAMOLE committed Mar 17, 2016
1 parent 9f5c1c2 commit a70a47c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ public float getShadowDistance() {
public void setShadowDistance(final float shadowDistance) {
mShadowDistance = shadowDistance;
resetShadowLayer();
postInvalidate();
requestLayout();
}

public float getShadowAngle() {
Expand All @@ -486,7 +486,7 @@ public float getShadowAngle() {
public void setShadowAngle(@FloatRange(from = MIN_ANGLE, to = MAX_ANGLE) final float shadowAngle) {
mShadowAngle = Math.max(MIN_ANGLE, Math.min(shadowAngle, MAX_ANGLE));
resetShadowLayer();
postInvalidate();
requestLayout();
}

public float getShadowRadius() {
Expand All @@ -496,7 +496,7 @@ public float getShadowRadius() {
public void setShadowRadius(final float shadowRadius) {
mShadowRadius = shadowRadius > MIN_SHADOW ? shadowRadius : MIN_SHADOW;
resetShadowLayer();
postInvalidate();
requestLayout();
}

public int getShadowColor() {
Expand Down

0 comments on commit a70a47c

Please sign in to comment.