Use full width if dragging around.
authorJan Schneider <jan@horde.org>
Tue, 28 Apr 2009 13:14:35 +0000 (15:14 +0200)
committerJan Schneider <jan@horde.org>
Tue, 28 Apr 2009 13:14:35 +0000 (15:14 +0200)
kronolith/js/src/kronolith.js

index 0fc5b45..7acd1b2 100644 (file)
@@ -812,6 +812,7 @@ KronolithCore = {
                     },
                     'onStart': function(d, e) {
                         this.addClassName('kronolithSelected');
+                        this.setStyle({ 'left': 0, 'width': '100%', 'zIndex': 1 });
                     }.bind(div),
                     'onDrag': function(d, e) {
                         if (Object.isUndefined(d.innerDiv)) {