Yuki Takei пре 3 година
родитељ
комит
502a82128e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/app/src/components/PageEditor/CodeMirrorEditor.jsx

+ 1 - 1
packages/app/src/components/PageEditor/CodeMirrorEditor.jsx

@@ -151,7 +151,7 @@ class CodeMirrorEditor extends AbstractEditor {
     this.keyDownHandlerForEmojiPicker = this.keyDownHandlerForEmojiPicker.bind(this);
     this.showEmojiPicker = this.showEmojiPicker.bind(this);
     this.keyPressHandlerForEmojiPicker = this.keyPressHandlerForEmojiPicker.bind(this);
-    this.keyPressHandlerForEmojiPickerThrottled = debounce(50, throttle(400, this.keyPressHandlerForEmojiPicker));
+    this.keyPressHandlerForEmojiPickerThrottled = debounce(50, throttle(200, this.keyPressHandlerForEmojiPicker));
     this.keyPressHandler = this.keyPressHandler.bind(this);
 
     this.updateCheatsheetStates = this.updateCheatsheetStates.bind(this);