Part of MKWS-58.
authorMike Taylor <mike@indexdata.com>
Mon, 9 Mar 2015 16:38:08 +0000 (16:38 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 9 Mar 2015 16:38:08 +0000 (16:38 +0000)
Trigger freeze on mouseMove rather than mouseEnter.
That will allow continuing movement to keep re-triggering.

src/mkws-widget-main.js

index c18b21b..446fe75 100644 (file)
@@ -160,7 +160,7 @@ mkws.registerWidgetType('records', function() {
 
   this.team.queue("records").subscribe(setRecordData);
 
-  this.node.mouseenter(function() {
+  this.node.mousemove(function() {
     that.info("freezing display records");
     that.node.css('opacity', 0.5);
     m_frozen = true;