projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
096eb08
)
Last part of MKWS-58 (apart from documentation)
author
Mike Taylor
<mike@indexdata.com>
Mon, 9 Mar 2015 17:20:05 +0000
(17:20 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 9 Mar 2015 17:20:05 +0000
(17:20 +0000)
Only fade the frozen record-display if the freeze_opacity setting is provided.
If it is, then fade it to the specified level.
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
cf4ed16
..
5ce127d
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-159,7
+159,8
@@
mkws.registerWidgetType('records', function() {
var m_timer;
this.node.mousemove(function() {
that.debug("freezing display records");
- that.node.css('opacity', 0.5);
+ var op = that.config.freeze_opacity;
+ if (op !== undefined) { that.node.css('opacity', op); }
m_frozen = true;
clearTimeout(m_timer);
m_timer = setTimeout(unfreezeRecordDisplay, 1000);