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 1d40b1eb79ec93aebc675dae33e0023b1e55220d
Author: Henry Castro <hcas...@collabora.com>
Date:   Fri Oct 14 14:46:46 2016 -0400

    loleaflet: fix mouse over text that it changes re-size cursor

diff --git a/loleaflet/dist/spreadsheet.css b/loleaflet/dist/spreadsheet.css
index c119f05..9548f0d 100644
--- a/loleaflet/dist/spreadsheet.css
+++ b/loleaflet/dist/spreadsheet.css
@@ -185,6 +185,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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to