mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-08-15 04:53:16 +02:00
Fix autocapitalisation flicker (#1047)
This commit is contained in:
@ -149,7 +149,7 @@ public final class Autocapitalisation
|
|||||||
_should_disable_shift = might_disable;
|
_should_disable_shift = might_disable;
|
||||||
// The callback must be delayed because [getCursorCapsMode] would sometimes
|
// The callback must be delayed because [getCursorCapsMode] would sometimes
|
||||||
// be called before the editor finished handling the previous event.
|
// be called before the editor finished handling the previous event.
|
||||||
_handler.postDelayed(delayed_callback, 1);
|
_handler.postDelayed(delayed_callback, 50);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Like [callback] but runs immediately. */
|
/** Like [callback] but runs immediately. */
|
||||||
|
Reference in New Issue
Block a user