Remove logs

This commit is contained in:
Antonio Scandurra
2015-09-22 17:31:43 +02:00
parent 68e2d7e7e4
commit 6b5ab3e4c9

View File

@@ -1477,7 +1477,6 @@ class TextEditorPresenter
{screenRange, options} = @pendingScrollLogicalPosition
# console.log screenRange.start.toString()
{top, left} = @pixelRectForScreenRange(new Range(screenRange.start, screenRange.start))
{top: endTop, left: endLeft, height: endHeight} = @pixelRectForScreenRange(new Range(screenRange.end, screenRange.end))
bottom = endTop + endHeight
@@ -1488,13 +1487,6 @@ class TextEditorPresenter
top += @scrollTop
bottom += @scrollTop
if global.enableLogs
console.log "====== presenter ======"
console.log "Client Height: #{@getClientHeight()}"
console.log "#{top}/#{bottom}"
console.log "#{@getScrollTop()}/#{@getScrollBottom()}"
console.log "======================="
if options?.reversed ? true
if bottom > @getScrollBottom()
@setScrollBottom(bottom)