loleaflet/src/control/Control.Header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3384185969de833dd50d5aab8e7e71521dc641f5 Author: Marco Cecchetti <marco.cecche...@collabora.com> 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/50006 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@collabora.com> diff --git a/loleaflet/src/control/Control.Header.js b/loleaflet/src/control/Control.Header.js index 22e176da..f7752908 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 libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits