diff --git a/src/app/cursor.coffee b/src/app/cursor.coffee index a3fc37abd..9bed85078 100644 --- a/src/app/cursor.coffee +++ b/src/app/cursor.coffee @@ -12,6 +12,7 @@ class Cursor extends View anchor: null editor: null wordRegex: /(\w+)|([^\w\s]+)/g + hidden: false initialize: ({editor, screenPosition} = {}) -> @editor = editor @@ -178,8 +179,10 @@ class Cursor extends View @editor.scrollTo(pixelPosition) if @editor.isFoldedAtScreenRow(screenPosition.row) - @hide() + @hide() unless @hidden + @hidden = true else - @show() + @show() if @hidden + @hidden = false @selection.updateAppearance() diff --git a/static/atom.css b/static/atom.css index c4258d885..4fbffb9cd 100644 --- a/static/atom.css +++ b/static/atom.css @@ -47,7 +47,6 @@ body { width: 100%; height: 100%; box-sizing: border-box; - -webkit-box-shadow: inset 0px 0px 2px 2px rgba(0, 0, 0, .1); } #root-view #panes .row > * + * {