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

Pedro Pinto Silva (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 28 14:16:52 UTC 2020


 loleaflet/src/layer/marker/Annotation.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 80f75315d798d8ae04e57201f280a66415f9cbb3
Author:     Pedro Pinto Silva <pedro.silva at collabora.com>
AuthorDate: Tue Jul 28 15:37:35 2020 +0200
Commit:     Pedro Silva <pedro.silva at collabora.com>
CommitDate: Tue Jul 28 16:16:33 2020 +0200

    Annotations: Use svg instead of png
    
    follow up to complement but on desktop : edaea8a3896ba37fab38ecb11644f98c14076f60
    
    Change-Id: Ic33bd0216d163872c42d8742d821c319c41e0ce6
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99630
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Pedro Silva <pedro.silva at collabora.com>

diff --git a/loleaflet/src/layer/marker/Annotation.js b/loleaflet/src/layer/marker/Annotation.js
index b8d24a482..e11665af9 100644
--- a/loleaflet/src/layer/marker/Annotation.js
+++ b/loleaflet/src/layer/marker/Annotation.js
@@ -222,7 +222,7 @@ L.Annotation = L.Layer.extend({
 		var tdImg = L.DomUtil.create(tagTd, 'loleaflet-annotation-img', tr);
 		var tdAuthor = L.DomUtil.create(tagTd, 'loleaflet-annotation-author', tr);
 		var imgAuthor = L.DomUtil.create('img', 'avatar-img', tdImg);
-		imgAuthor.setAttribute('src', L.LOUtil.getImageURL('user.png'));
+		imgAuthor.setAttribute('src', L.LOUtil.getImageURL('user.svg'));
 		imgAuthor.setAttribute('width', this.options.imgSize.x);
 		imgAuthor.setAttribute('height', this.options.imgSize.y);
 		this._authorAvatarImg = imgAuthor;


More information about the Libreoffice-commits mailing list