Remove input enabled check for 'is-focused' class

vim-mode-plus relies on this behavior
This commit is contained in:
Katrina Uychaco
2017-12-14 11:56:23 +01:00
parent 55dd4d82c9
commit 2d6750cae3

View File

@@ -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()) {