mirror of
https://github.com/atom/atom.git
synced 2026-02-11 07:05:11 -05:00
Remove un-necessary mini checks when initializing
In addition, the boolean check I added for softWrapColumn was incorrect.
This commit is contained in:
@@ -169,8 +169,8 @@ class TextEditor extends Model
|
||||
unless @displayLayer?
|
||||
displayLayerParams = {
|
||||
invisibles: @getInvisibles(),
|
||||
softWrapColumn: not @isMini() and @getSoftWrapColumn(),
|
||||
showIndentGuides: not @isMini() and @doesShowIndentGuide(),
|
||||
softWrapColumn: @getSoftWrapColumn(),
|
||||
showIndentGuides: @doesShowIndentGuide(),
|
||||
atomicSoftTabs: params.atomicSoftTabs ? true,
|
||||
tabLength: tabLength,
|
||||
ratioForCharacter: @ratioForCharacter.bind(this),
|
||||
|
||||
Reference in New Issue
Block a user