From 2d6750cae323efd5284eeee5199a53075c577445 Mon Sep 17 00:00:00 2001 From: Katrina Uychaco Date: Thu, 14 Dec 2017 11:56:23 +0100 Subject: [PATCH] Remove input enabled check for 'is-focused' class vim-mode-plus relies on this behavior --- src/text-editor-component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text-editor-component.js b/src/text-editor-component.js index 08af5ada1..263556ee0 100644 --- a/src/text-editor-component.js +++ b/src/text-editor-component.js @@ -823,7 +823,7 @@ class TextEditorComponent { const oldClassList = this.classList const newClassList = ['editor'] - if (this.focused && this.isInputEnabled()) newClassList.push('is-focused') + if (this.focused) newClassList.push('is-focused') if (model.isMini()) newClassList.push('mini') for (var i = 0; i < model.selections.length; i++) { if (!model.selections[i].isEmpty()) {