[Libreoffice-commits] online.git: loleaflet/src
Henry Castro
hcastro at collabora.com
Wed Aug 31 19:53:34 UTC 2016
loleaflet/src/control/Control.Header.js | 2 +-
loleaflet/src/control/Control.RowHeader.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 947f1d3d86d5fe73f61542c9d0d6352b94b4669d
Author: Henry Castro <hcastro at collabora.com>
Date: Wed Aug 31 15:52:23 2016 -0400
loleaflet: fix extra height for optimal row
Also increase setTimeout to 400 for dblclick auto fit
diff --git a/loleaflet/src/control/Control.Header.js b/loleaflet/src/control/Control.Header.js
index cbd8b53..24ed4f7 100644
--- a/loleaflet/src/control/Control.Header.js
+++ b/loleaflet/src/control/Control.Header.js
@@ -70,7 +70,7 @@ L.Control.Header = L.Control.extend({
this._clicks = 0;
} else {
this.onDragClick(this._item, ++this._clicks, e);
- setTimeout(L.bind(this.initialize, this), 200);
+ setTimeout(L.bind(this.initialize, this), 400);
}
this._target = this._cursor = this._item = this._start = this._offset = null;
diff --git a/loleaflet/src/control/Control.RowHeader.js b/loleaflet/src/control/Control.RowHeader.js
index c88cf6b..2395d3e 100644
--- a/loleaflet/src/control/Control.RowHeader.js
+++ b/loleaflet/src/control/Control.RowHeader.js
@@ -246,7 +246,7 @@ L.Control.RowHeader = L.Control.Header.extend({
var extra = {
aExtraHeight: {
type: 'unsigned short',
- value: this._map._docLayer.STD_EXTRA_WIDTH
+ value: 0
}
};
More information about the Libreoffice-commits
mailing list