Commit f60d39f6 authored by Randall Leeds's avatar Randall Leeds

No pointer events on the sidebar strip

This is unnecessary and less obvious than the toggle button, which
means it's not worth the egregious fail of preventing interaction
with scrollbars, etc.
parent 879a6f9b
......@@ -45,13 +45,6 @@ class Annotator.Plugin.BucketBar extends Annotator.Plugin
for event in events
@annotator.subscribe event, this._scheduleUpdate
@element.on 'click', (event) =>
event.stopPropagation()
@annotator.showFrame()
@element.on 'mouseup', (event) =>
event.stopPropagation()
$(window).on 'resize scroll', this._scheduleUpdate
$(document.body).on 'resize scroll', '*', this._scheduleUpdate
......
......@@ -2,7 +2,7 @@
.annotator-bucket-bar {
background: hsla(0, 0, 0, .1);
cursor: ew-resize;
pointer-events: none;
position: absolute;
height: 100%;
width: $bucket-bar-width;
......
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