Skip to content

Commit

Permalink
fix: get DecorationManagement through minimap
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Apr 1, 2021
1 parent 9362232 commit 29a7bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mixins/canvas-drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default class CanvasDrawer {
this.drawLines(firstRow, lastRow)
}

const decorations = this.DecorationManagement.decorationsByTypeThenRows(firstRow, lastRow)
const decorations = this.minimap.DecorationManagement.decorationsByTypeThenRows(firstRow, lastRow)

const renderData = {
context: this.backLayer.context,
Expand Down

0 comments on commit 29a7bf6

Please sign in to comment.