Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
fixed issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
imaNNeo committed Apr 29, 2018
1 parent c8021da commit ee6d1b3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,11 +513,10 @@ class ArcChartView @JvmOverloads constructor(mContext : Context, attrs: Attribut
override fun onTouchEvent(event: MotionEvent?): Boolean {
when(event?.action){
MotionEvent.ACTION_DOWN -> {
downX = event.x
downY = event.y

if(allowSettingValueByTouch) {
downX = event.x
downY = event.y

val secLine = handleTouchSectionLine(downX, downY)
touchingSection = secLine.first
touchingSectionValue = secLine.second
Expand Down

0 comments on commit ee6d1b3

Please sign in to comment.