mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-02-03 10:17:29 +01:00
lets remove a check for easier gestures
This commit is contained in:
parent
492f72d83a
commit
3bffd1d48a
@ -20,7 +20,6 @@ import com.simplemobiletools.draw.pro.interfaces.CanvasListener
|
||||
import com.simplemobiletools.draw.pro.models.MyParcelable
|
||||
import com.simplemobiletools.draw.pro.models.MyPath
|
||||
import com.simplemobiletools.draw.pro.models.PaintOptions
|
||||
import java.util.*
|
||||
import java.util.concurrent.ExecutionException
|
||||
import kotlin.math.abs
|
||||
import kotlin.math.max
|
||||
@ -113,10 +112,6 @@ class MyCanvas(context: Context, attrs: AttributeSet) : View(context, attrs) {
|
||||
return true
|
||||
}
|
||||
|
||||
if (mIgnoreTouches) {
|
||||
return true
|
||||
}
|
||||
|
||||
if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_MOVE) {
|
||||
mActivePointerId = event.getPointerId(0)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user