[Libreoffice-commits] online.git: 2 commits - loleaflet/dist loleaflet/src
Pranav Kant
pranavk at collabora.co.uk
Thu Mar 9 12:13:27 UTC 2017
loleaflet/dist/loleaflet.css | 4 ++++
loleaflet/src/layer/AnnotationManager.js | 1 +
loleaflet/src/layer/marker/Annotation.js | 2 +-
3 files changed, 6 insertions(+), 1 deletion(-)
New commits:
commit af3a9110eea25da3ad3fa7ed2586c87696ca2e45
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Thu Mar 9 17:41:41 2017 +0530
loleaflet: Add trackchange flag when object is modified too
Change-Id: I0b1c67737088018e4f87b85b5b10f3c68233c56f
diff --git a/loleaflet/src/layer/AnnotationManager.js b/loleaflet/src/layer/AnnotationManager.js
index c747ad7..1599f2e 100644
--- a/loleaflet/src/layer/AnnotationManager.js
+++ b/loleaflet/src/layer/AnnotationManager.js
@@ -288,6 +288,7 @@ L.AnnotationManager = L.Class.extend({
obj.redline.anchorPos = obj.redline.anchorPos ? L.LOUtil.stringToPoing(obj.redline.anchorPos) : modified._data.anchorPos;
obj.redline.text = obj.redline.comment;
obj.redline.id = id;
+ obj.redline.trackchange = true;
modifiedObj = obj.redline;
} else {
obj.comment.anchorPos = obj.comment.anchorPos ? L.LOUtil.stringToPoint(obj.comment.anchorPos) :
commit 148e0f68323316b320170c216755238159e3fe67
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Thu Mar 9 17:40:53 2017 +0530
loleaflet: Make caption text bold
Change-Id: I2dbfcf8e341703ba931466e00c269a4a5814c7f9
diff --git a/loleaflet/dist/loleaflet.css b/loleaflet/dist/loleaflet.css
index de2d830..8225027 100644
--- a/loleaflet/dist/loleaflet.css
+++ b/loleaflet/dist/loleaflet.css
@@ -243,3 +243,7 @@ body {
.loleaflet-annotation-menu-redline:hover {
border: 1px solid darkgrey;
}
+
+.loleaflet-annotation-caption {
+ font-weight: bold;
+}
diff --git a/loleaflet/src/layer/marker/Annotation.js b/loleaflet/src/layer/marker/Annotation.js
index 5580715..774dd3c 100644
--- a/loleaflet/src/layer/marker/Annotation.js
+++ b/loleaflet/src/layer/marker/Annotation.js
@@ -95,7 +95,7 @@ L.Annotation = L.Layer.extend({
var divMenu = L.DomUtil.create('div', this._data.trackchange ? 'loleaflet-annotation-menu-redline' : 'loleaflet-annotation-menu', tdMenu);
divMenu.annotation = this;
if (this._data.trackchange) {
- this._captionNode = L.DomUtil.create('div', 'lolefalet-annotation-caption', wrapper);
+ this._captionNode = L.DomUtil.create('div', 'loleaflet-annotation-caption', wrapper);
this._captionText = L.DomUtil.create('div', '', this._captionNode);
}
this._contentNode = L.DomUtil.create('div', 'loleaflet-annotation-content', wrapper);
More information about the Libreoffice-commits
mailing list