[Libreoffice-commits] online.git: loleaflet/src

Mihai Varga mihai.varga at collabora.com
Mon Nov 2 04:42:34 PST 2015


 loleaflet/src/control/Control.Scroll.js |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 3b308aef83dc758805fab625da892543fa906e20
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Mon Nov 2 14:41:47 2015 +0200

    loleaflet: allow the scrollbar to be dragged from outside the iframe

diff --git a/loleaflet/src/control/Control.Scroll.js b/loleaflet/src/control/Control.Scroll.js
index e750e80..1c02140 100644
--- a/loleaflet/src/control/Control.Scroll.js
+++ b/loleaflet/src/control/Control.Scroll.js
@@ -29,6 +29,9 @@ L.Control.Scroll = L.Control.extend({
 					control._onScroll(this);
 				},
 				alwaysTriggerOffsets: false
+			},
+			advanced: {
+				releaseDraggableSelectors: top.document
 			}
 		});
 		return document.createElement('div');


More information about the Libreoffice-commits mailing list