projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cadf103
)
Bug #9458: Adjust width based on viewport position of viewport content element
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 20 Dec 2010 23:22:43 +0000
(16:22 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 20 Dec 2010 23:22:43 +0000
(16:22 -0700)
imp/js/viewport.js
patch
|
blob
|
history
diff --git
a/imp/js/viewport.js
b/imp/js/viewport.js
index
004eef0
..
7f09f3b
100644
(file)
--- a/
imp/js/viewport.js
+++ b/
imp/js/viewport.js
@@
-1207,7
+1207,7
@@
var ViewPort = Class.create({
case 'vert':
drag = DragDrop.Drags.getDrag(e.element());
- sp.vert.width = drag.lastCoord[0];
+ sp.vert.width = drag.lastCoord[0]
- this.opts.content.viewportOffset()[0]
;
this.opts.content.setStyle({ width: sp.vert.width + 'px' });
change = drag.wasDragged;
break;