mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Remove logs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user