mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-03-27 09:00:09 +01:00
Merge pull request #217 from KryptKode/ref/exclude-scale-drag
Do not register drag and scale for Undo
This commit is contained in:
commit
f0f9c2d09c
@ -253,9 +253,9 @@ class MyCanvas(context: Context, attrs: AttributeSet) : View(context, attrs) {
|
||||
mPath.lineTo(mCurX + 1, mCurY + 2)
|
||||
mPath.lineTo(mCurX + 1, mCurY)
|
||||
}
|
||||
mPaths[mPath] = mPaintOptions
|
||||
}
|
||||
|
||||
mPaths[mPath] = mPaintOptions
|
||||
pathsUpdated()
|
||||
mPath = MyPath()
|
||||
mPaintOptions = PaintOptions(mPaintOptions.color, mPaintOptions.strokeWidth, mPaintOptions.isEraser)
|
||||
|
Loading…
x
Reference in New Issue
Block a user