| commit | 0b82134d9067abea83959f44728cd3623f14dc7d | [log] |
|---|---|---|
| author | gokaysatir <gokaysatir@collabora.com> | Sat May 30 11:50:34 2020 +0300 |
| committer | Andras Timar <andras.timar@collabora.com> | Wed Jun 03 21:10:02 2020 +0200 |
| tree | 687bc191f2e8d880b1cbb8a0fb3e46e14b92e519 | |
| parent | f1b8b3d15b873fc1b89fe5c24a3bd8d9e4c3e12e [diff] |
tdf#111535 fix mispositioning bug when the page is resized. Change-Id: I67444baa78f99558906de4e8e6c45a8b6f11bce6 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95178 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
diff --git a/loleaflet/src/control/Ruler.js b/loleaflet/src/control/Ruler.js index f5c3dda..b3cb520 100644 --- a/loleaflet/src/control/Ruler.js +++ b/loleaflet/src/control/Ruler.js
@@ -418,6 +418,7 @@ L.Control.Ruler = L.Control.extend({ this._rFace.style.marginLeft = rulerOffset + 'px'; this.rulerOffset = rulerOffset; // Needed on different parts too.. this._updateParagraphIndentations(); }, _moveIndentation: function(e) {