From 29a7bf6e907adb90b0ddcb55ce2d3c873ea06fae Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Thu, 1 Apr 2021 15:58:06 -0500 Subject: [PATCH] fix: get DecorationManagement through minimap --- lib/mixins/canvas-drawer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mixins/canvas-drawer.js b/lib/mixins/canvas-drawer.js index ef113e6a..c96ad27c 100644 --- a/lib/mixins/canvas-drawer.js +++ b/lib/mixins/canvas-drawer.js @@ -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,