[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-1-0' - loleaflet/dist loleaflet/src

Henry Castro hcastro at collabora.com
Mon Oct 17 11:38:46 UTC 2016


 loleaflet/dist/spreadsheet.css                |    1 +
 loleaflet/src/control/Control.ColumnHeader.js |    4 ++--
 loleaflet/src/control/Control.RowHeader.js    |    6 +++---
 3 files changed, 6 insertions(+), 5 deletions(-)

New commits:
commit 2e57aeb4503208b38ad46e9b85ea0992e6e58b86
Author: Henry Castro <hcastro at collabora.com>
Date:   Fri Oct 14 14:46:46 2016 -0400

    loleaflet: fix mouse over text that it changes re-size cursor
    
    (cherry picked from commit 1d40b1eb79ec93aebc675dae33e0023b1e55220d)

diff --git a/loleaflet/dist/spreadsheet.css b/loleaflet/dist/spreadsheet.css
index 30c992c..e700c3c 100644
--- a/loleaflet/dist/spreadsheet.css
+++ b/loleaflet/dist/spreadsheet.css
@@ -186,6 +186,7 @@
 	margin: 0px;
 	border: 0px;
 	padding: 0px;
+	overflow: hidden;
 	cursor: pointer;
 
 	/* Make the text unselectable for all browsers */
diff --git a/loleaflet/src/control/Control.ColumnHeader.js b/loleaflet/src/control/Control.ColumnHeader.js
index 0535b8c..ef67d60 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 - 6 + 'px');
-				L.DomUtil.setStyle(resize, 'width', '6px');
+				L.DomUtil.setStyle(text, 'width', width - 3 + 'px');
+				L.DomUtil.setStyle(resize, 'width', '3px');
 				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 28d501e..7406131 100644
--- a/loleaflet/src/control/Control.RowHeader.js
+++ b/loleaflet/src/control/Control.RowHeader.js
@@ -139,9 +139,9 @@ L.Control.RowHeader = L.Control.Header.extend({
 				resize.row = iterator + 1;
 				resize.height = height;
 				L.DomUtil.setStyle(row, 'height', height + 'px');
-				L.DomUtil.setStyle(text, 'line-height', height + 'px');
-				L.DomUtil.setStyle(text, 'height', height - 6 + 'px');
-				L.DomUtil.setStyle(resize, 'height', '6px');
+				L.DomUtil.setStyle(text, 'line-height', height - 3 + 'px');
+				L.DomUtil.setStyle(text, 'height', height - 3 + 'px');
+				L.DomUtil.setStyle(resize, 'height', '3px');
 				this.mouseInit(resize);
 			}
 			L.DomEvent.addListener(text, 'click', this._onRowHeaderClick, this);


More information about the Libreoffice-commits mailing list