mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 82018f99
: Forgot to reset the matrix of offscreen canvas
* commit '82018f99727a104aa77ab4d48f8b9a9858479453': Forgot to reset the matrix of offscreen canvas
This commit is contained in:
commit
eba1ad955e
@ -110,6 +110,7 @@ public final class GestureTrailsPreview extends AbstractDrawingPreview {
|
||||
|
||||
private void freeOffscreenBuffer() {
|
||||
mOffscreenCanvas.setBitmap(null);
|
||||
mOffscreenCanvas.setMatrix(null);
|
||||
if (mOffscreenBuffer != null) {
|
||||
mOffscreenBuffer.recycle();
|
||||
mOffscreenBuffer = null;
|
||||
|
Loading…
Reference in New Issue
Block a user