Commit cd8a3680 authored by csillag's avatar csillag

Switch of dynamic bucket mode on highlight click. Fixes #1114

parent 14fcc0b2
......@@ -289,6 +289,9 @@ class Annotator.Guest extends Annotator
onAnchorClick: (annotations) =>
return unless (@tool is 'highlight') or @visibleHighlights and @noBack
# Switch off dynamic mode; we are going to "Selection" scope
@plugins.Heatmap.dynamicBucket = false
# Tell sidebar to show the viewer for these annotations
this.showViewer "Selection", annotations
......
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