We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8d899a commit d2e2963Copy full SHA for d2e2963
lib/mixins/canvas-drawer.js
@@ -18,13 +18,14 @@ let thisSpec
18
* methods are available on any `MinimapElement` instance.
19
*/
20
export default class CanvasDrawer {
21
- constructor() {
+ constructor () {
22
// set in setModel of minimapElement
23
this.minimap = undefined
24
// set by minimapElement
25
- this.displayCodeHighlights = undefined
26
- this.ignoreWhitespacesInTokens = undefined
+ this.displayCodeHighlights = atom.config.get('minimap.displayCodeHighlights')
+ this.ignoreWhitespacesInTokens = atom.config.get('minimap.ignoreWhitespacesInTokens')
27
}
28
+
29
/**
30
* Initializes the canvas elements needed to perform the `Minimap` rendering.
31
0 commit comments