Skip to content

Commit

Permalink
feat(highlighter): change composition to overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
jLouzado committed Sep 14, 2020
1 parent 5574dd1 commit 07b1804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instruments/highlighter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class Highlighter implements Instrument {
}

draw(e: MouseEvent, options: Options) {
this.ctx.globalCompositeOperation = 'multiply'
this.ctx.globalCompositeOperation = 'overlay'
this.ctx.lineCap = 'round'
this.ctx.lineJoin = 'round'
this.ctx.lineWidth = options.width
Expand Down

0 comments on commit 07b1804

Please sign in to comment.