Commit ad097b01 authored by csillag's avatar csillag

Always hide the adder button when activating Highlighting Mode

Fixes #625
parent 9ec9c112
...@@ -146,6 +146,7 @@ class Annotator.Host extends Annotator ...@@ -146,6 +146,7 @@ class Annotator.Host extends Annotator
.bind('setHighlightingMode', (ctx, value) => .bind('setHighlightingMode', (ctx, value) =>
@highlightingMode = value @highlightingMode = value
if @highlightingMode then @adder.hide()
this.setPersistentHighlights() this.setPersistentHighlights()
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment