mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-09 16:48:44 +01:00
fix #2674, draw lines on the proper place in the foss editor
This commit is contained in:
parent
e767b117c5
commit
558e764b59
@ -55,8 +55,8 @@ class EditorDrawCanvas(context: Context, attrs: AttributeSet) : View(context, at
|
||||
}
|
||||
|
||||
override fun onTouchEvent(event: MotionEvent): Boolean {
|
||||
val x = event.rawX
|
||||
val y = event.rawY
|
||||
val x = event.x
|
||||
val y = event.y
|
||||
|
||||
when (event.action and MotionEvent.ACTION_MASK) {
|
||||
MotionEvent.ACTION_DOWN -> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user