Skip to content

Commit

Permalink
Fix inner color setting (cortinico#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-codigo authored and cortinico committed Nov 12, 2018
1 parent de12e30 commit d55870f
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ import android.animation.ValueAnimator
import android.content.Context
import android.content.res.Resources
import android.content.res.TypedArray
import android.graphics.Canvas
import android.graphics.Outline
import android.graphics.Paint
import android.graphics.RectF
import android.graphics.Typeface
import android.graphics.*
import android.graphics.drawable.AnimatedVectorDrawable
import android.graphics.drawable.Drawable
import android.os.Build
Expand Down Expand Up @@ -96,7 +92,7 @@ class SlideToActView @JvmOverloads constructor (
var innerColor: Int = 0
set(value) {
field = value
mTextPaint.color = value
mInnerPaint.color = value
invalidate()
}

Expand Down

0 comments on commit d55870f

Please sign in to comment.