mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Remove setLineNumberWidth
This commit is contained in:
committed by
probablycorey
parent
7798f04cc4
commit
014d5e7bb3
@@ -43,14 +43,6 @@ class PreviewList extends ScrollView
|
||||
|
||||
@show()
|
||||
@find('.operation:first').addClass('selected')
|
||||
@setLineNumberWidth()
|
||||
|
||||
setLineNumberWidth: ->
|
||||
lineNumbers = @find('.line-number')
|
||||
maxWidth = 0
|
||||
lineNumbers.each (index, element) ->
|
||||
maxWidth = Math.max($(element).outerWidth(), maxWidth)
|
||||
lineNumbers.width(maxWidth)
|
||||
|
||||
selectNextOperation: ->
|
||||
selectedView = @find('.selected').view()
|
||||
|
||||
Reference in New Issue
Block a user