Commit 7a0aead0 by Arthur Barrett

annotation now hides automatically on mouseleave events. click to hide/show or…

annotation now hides automatically on mouseleave events. click to hide/show or re-position the annotation.
parent b0abfa07
...@@ -65,10 +65,12 @@ class @Annotatable ...@@ -65,10 +65,12 @@ class @Annotatable
mouse: false # dont follow the mouse mouse: false # dont follow the mouse
y: -10 y: -10
show: show:
event: 'mouseenter' event: 'click mouseenter'
solo: true solo: true
hide: hide:
event: 'unfocus' event: 'click mouseleave'
delay: 250,
fixed: true
style: style:
classes: 'ui-tooltip-annotatable' classes: 'ui-tooltip-annotatable'
events: events:
......
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