[Libreoffice-commits] online.git: loleaflet/src

gokaysatir (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 3 19:10:24 UTC 2020


 loleaflet/src/control/Ruler.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0b82134d9067abea83959f44728cd3623f14dc7d
Author:     gokaysatir <gokaysatir at collabora.com>
AuthorDate: Sat May 30 11:50:34 2020 +0300
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Jun 3 21:10:02 2020 +0200

    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 at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/control/Ruler.js b/loleaflet/src/control/Ruler.js
index f5c3dda4d..b3cb520b9 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) {


More information about the Libreoffice-commits mailing list