[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-1-0' - loleaflet/src
Henry Castro
hcastro at collabora.com
Mon Oct 10 07:58:26 UTC 2016
loleaflet/src/control/Control.ColumnHeader.js | 4 ++--
loleaflet/src/control/Control.RowHeader.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 5a71755f36717f71c54bd41c884b2d6d23b9546c
Author: Henry Castro <hcastro at collabora.com>
Date: Sun Oct 9 11:43:26 2016 -0400
loleaflet: increase re-size cursor zone
(cherry picked from commit 7f514422c3fe8347b3e6baad51f95f8ba541f3a7)
diff --git a/loleaflet/src/control/Control.ColumnHeader.js b/loleaflet/src/control/Control.ColumnHeader.js
index ef67d60..0535b8c 100644
--- a/loleaflet/src/control/Control.ColumnHeader.js
+++ b/loleaflet/src/control/Control.ColumnHeader.js
@@ -142,8 +142,8 @@ L.Control.ColumnHeader = L.Control.Header.extend({
resize.column = iterator + 1;
resize.width = width;
L.DomUtil.setStyle(column, 'width', width + 'px');
- L.DomUtil.setStyle(text, 'width', width - 3 + 'px');
- L.DomUtil.setStyle(resize, 'width', '3px');
+ L.DomUtil.setStyle(text, 'width', width - 6 + 'px');
+ L.DomUtil.setStyle(resize, 'width', '6px');
this.mouseInit(resize);
}
L.DomEvent.addListener(text, 'click', this._onColumnHeaderClick, this);
diff --git a/loleaflet/src/control/Control.RowHeader.js b/loleaflet/src/control/Control.RowHeader.js
index 2236c20..28d501e 100644
--- a/loleaflet/src/control/Control.RowHeader.js
+++ b/loleaflet/src/control/Control.RowHeader.js
@@ -140,8 +140,8 @@ L.Control.RowHeader = L.Control.Header.extend({
resize.height = height;
L.DomUtil.setStyle(row, 'height', height + 'px');
L.DomUtil.setStyle(text, 'line-height', height + 'px');
- L.DomUtil.setStyle(text, 'height', height - 3 + 'px');
- L.DomUtil.setStyle(resize, 'height', '3px');
+ L.DomUtil.setStyle(text, 'height', height - 6 + 'px');
+ L.DomUtil.setStyle(resize, 'height', '6px');
this.mouseInit(resize);
}
L.DomEvent.addListener(text, 'click', this._onRowHeaderClick, this);
More information about the Libreoffice-commits
mailing list