KeyHandler // +isTypingContentEmpty.

This commit is contained in:
ShikiSuen 2022-08-04 19:39:37 +08:00
parent 7c2d2a9caf
commit 0e1db68b96
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ public class KeyHandler {
let kEpsilon: Double = 0.000001
///
var isCursorCuttingChar = false
///
var isTypingContentEmpty: Bool { composer.isEmpty && compositor.isEmpty }
///
let kMaxComposingBufferNeedsToWalkSize = Int(max(12, ceil(Double(mgrPrefs.composingBufferSize) / 2)))