Add caretAvatar patch

This commit is contained in:
Victor Dubiniuk 2013-09-26 17:21:01 +03:00
parent e3e8ef5b58
commit 17b76078f7
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/js/3rdparty/webodf/editor/Editor.js b/js/3rdparty/webodf/editor/Editor.js
index 644f4b5..50881a2 100644
--- a/js/3rdparty/webodf/editor/Editor.js
+++ b/js/3rdparty/webodf/editor/Editor.js
@@ -383,7 +383,7 @@ define("webodf/editor/Editor", [
odfCanvas.addListener("statereadychange", function () {
var viewOptions = {
editInfoMarkersInitiallyVisible: collabEditing,
- caretAvatarsInitiallyVisible: collabEditing,
+ caretAvatarsInitiallyVisible: false,
caretBlinksOnRangeSelect: true
};

View File

@ -34,3 +34,4 @@ cp "$WEBODF_BUILDDIR"/programs/editor/editor.css ./css/3rdparty/webodf
# patches against upstream
patch -p1 -i src/patches/fontsCssPath.patch
patch -p1 -i src/patches/hideCaretAvatar.patch