mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Optimize KeybaordView.invalidateAllKeys a bit"
This commit is contained in:
commit
0fe45eac18
@ -944,6 +944,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
|
|||||||
public void invalidateAllKeys() {
|
public void invalidateAllKeys() {
|
||||||
mDirtyRect.union(0, 0, getWidth(), getHeight());
|
mDirtyRect.union(0, 0, getWidth(), getHeight());
|
||||||
mBufferNeedsUpdate = true;
|
mBufferNeedsUpdate = true;
|
||||||
|
mInvalidatedKey = null;
|
||||||
invalidate();
|
invalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user