loleaflet/src/control/Control.Header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3b3197e477aaa279d123dca2c32c242f30385390 Author: Marco Cecchetti <[email protected]> Date: Mon Feb 5 19:35:36 2018 +0100 calc: header entry border was not shown at certain zoom levels Change-Id: I531ad3a06e208fcafa4ca8243e2b54fffcd8449e Reviewed-on: https://gerrit.libreoffice.org/49975 Reviewed-by: Andras Timar <[email protected]> Tested-by: Andras Timar <[email protected]> diff --git a/loleaflet/src/control/Control.Header.js b/loleaflet/src/control/Control.Header.js index 9a97a254..c5686705 100644 --- a/loleaflet/src/control/Control.Header.js +++ b/loleaflet/src/control/Control.Header.js @@ -58,7 +58,7 @@ L.Control.Header = L.Control.extend({ this._font = fontSize + 'px/' + rate + ' ' + fontFamily; this._borderColor = L.DomUtil.getStyle(elem, 'border-top-color'); var borderWidth = L.DomUtil.getStyle(elem, 'border-top-width'); - this._borderWidth = parseInt(borderWidth); + this._borderWidth = Math.round(parseFloat(borderWidth)); this._cursor = L.DomUtil.getStyle(elem, 'cursor'); L.DomUtil.remove(elem); }, _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
