devmil 4 лет назад
Родитель
Сommit
c2251292aa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/frontend/input_behavior_default.dart

+ 1 - 1
lib/frontend/input_behavior_default.dart

@@ -54,7 +54,7 @@ class InputBehaviorDefault extends InputBehavior {
     //this is a hack to bypass some race condition in the input system
     //we just take the last rune if there are more than one as it sometimes
     //happens that the last value is still part of the new value
-    if(inputText.runes.length > 1) {
+    if (inputText.runes.length > 1) {
       inputText = String.fromCharCode(inputText.runes.last);
     }