mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
🔥 Remove dead code
This commit is contained in:
@@ -54,6 +54,7 @@ class LinesComponent extends TiledComponent
|
||||
@placeholderTextDiv.classList.add('placeholder-text')
|
||||
@placeholderTextDiv.textContent = @newState.placeholderText
|
||||
@domNode.appendChild(@placeholderTextDiv)
|
||||
@oldState.placeholderText = @newState.placeholderText
|
||||
|
||||
if @newState.width isnt @oldState.width
|
||||
@domNode.style.width = @newState.width + 'px'
|
||||
|
||||
@@ -49,10 +49,6 @@ class LinesTileComponent
|
||||
@domNode.style.zIndex = @newTileState.zIndex
|
||||
@oldTileState.zIndex = @newTileState.zIndex
|
||||
|
||||
if @newTileState.visibility isnt @oldTileState.visibility
|
||||
@domNode.style.visibility = @newTileState.visibility
|
||||
@oldTileState.visibility = @newTileState.visibility
|
||||
|
||||
if @newTileState.display isnt @oldTileState.display
|
||||
@domNode.style.display = @newTileState.display
|
||||
@oldTileState.display = @newTileState.display
|
||||
|
||||
Reference in New Issue
Block a user