Skip to content

Commit 5a91d99

Browse files
committed
🐛 Fix deprecation with display layer new API
1 parent 7694bed commit 5a91d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/minimap-git-diff-binding.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class MinimapGitDiffBinding
6060
@markers = null
6161

6262
markRange: (startRow, endRow, scope) ->
63-
return if @editor.displayBuffer.isDestroyed()
63+
return if @editor.isDestroyed()
6464
marker = @editor.markBufferRange([[startRow, 0], [endRow, Infinity]], invalidate: 'never')
6565
type = if @useGutterDecoration then 'gutter' else 'line'
6666
@minimap.decorateMarker(marker, {type, scope: ".minimap .#{type} #{scope}", plugin: 'git-diff'})

0 commit comments

Comments
 (0)