From b2477be794970447a0faf233e9acea9396db076e Mon Sep 17 00:00:00 2001 From: sadick254 Date: Thu, 6 May 2021 23:24:30 +0300 Subject: [PATCH] Speed up blinking cursor --- spec/text-editor-component-spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/text-editor-component-spec.js b/spec/text-editor-component-spec.js index 900e46cf4..0bfa5b45d 100644 --- a/spec/text-editor-component-spec.js +++ b/spec/text-editor-component-spec.js @@ -605,8 +605,8 @@ describe('TextEditorComponent', () => { it('blinks cursors when the editor is focused and the cursors are not moving', async () => { assertDocumentFocused(); const { component, element, editor } = buildComponent(); - component.props.cursorBlinkPeriod = 40; - component.props.cursorBlinkResumeDelay = 40; + component.props.cursorBlinkPeriod = 30; + component.props.cursorBlinkResumeDelay = 30; editor.addCursorAtScreenPosition([1, 0]); element.focus();