Skip to content

Commit

Permalink
fix: attach to text editor explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 17, 2021
1 parent ad83bf6 commit f2c36b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ function initSubscriptions () {
const minimapElement = minimap.getMinimapElement() || atom.views.getView(minimap)

emitter.emit('did-create-minimap', minimap)
minimapElement.attach()
minimapElement.attach(textEditor.getElement())
}),
// empty color cache if the theme changes
atom.themes.onDidChangeActiveThemes(() => {
Expand Down

0 comments on commit f2c36b7

Please sign in to comment.