Commit bdc18127 authored by csillag's avatar csillag

Only open toolbar when we hover above it. Fixes #795.

parent 24b2ca4a
...@@ -28,7 +28,7 @@ class Annotator.Host extends Annotator.Guest ...@@ -28,7 +28,7 @@ class Annotator.Host extends Annotator.Guest
if @toolbar? if @toolbar?
@toolbar.addClass 'annotator-hide' @toolbar.addClass 'annotator-hide'
app @toolbar
.on('mouseenter', => @toolbar.removeClass 'annotator-hide') .on('mouseenter', => @toolbar.removeClass 'annotator-hide')
.on('mouseleave', => @toolbar.addClass 'annotator-hide') .on('mouseleave', => @toolbar.addClass 'annotator-hide')
......
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