Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
1170acd5
Commit
1170acd5
authored
Jul 27, 2017
by
SergeyLuzyanin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugs in collaborative cursors in notes
parent
0558a8f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
slide/Editor/CollaborativeEditing.js
slide/Editor/CollaborativeEditing.js
+3
-3
slide/Editor/Format/Presentation.js
slide/Editor/Format/Presentation.js
+4
-1
No files found.
slide/Editor/CollaborativeEditing.js
View file @
1170acd5
...
...
@@ -526,10 +526,10 @@ CCollaborativeEditing.prototype.Update_ForeignCursorsPositions = function()
{
var
DrawingDocument
=
editor
.
WordControl
.
m_oDrawingDocument
;
var
oPresentation
=
editor
.
WordControl
.
m_oLogicDocument
;
var
oCurSlide
=
oPresentation
.
Slides
[
oPresentation
.
CurPage
];
var
oTargetDocContentOrTable
;
if
(
oCurSlide
){
oTargetDocContentOrTable
=
oCurSlide
.
graphicObjects
.
getTargetDocContent
(
undefined
,
true
);
var
oCurController
=
oPresentation
.
GetCurrentController
();
if
(
oCurController
){
oTargetDocContentOrTable
=
oCurController
.
getTargetDocContent
(
undefined
,
true
);
}
if
(
!
oTargetDocContentOrTable
){
for
(
var
UserId
in
this
.
m_aForeignCursors
){
...
...
slide/Editor/Format/Presentation.js
View file @
1170acd5
...
...
@@ -1435,7 +1435,7 @@ CPresentation.prototype =
if
(
true
===
Show
){
var
oTargetDocContentOrTable
,
oCurSlide
=
this
.
Slides
[
this
.
CurPage
]
;
var
oTargetDocContentOrTable
;
var
oController
=
this
.
GetCurrentController
();
if
(
oController
){
oTargetDocContentOrTable
=
oController
.
getTargetDocContent
(
undefined
,
true
);
...
...
@@ -4303,6 +4303,9 @@ CPresentation.prototype =
Notes_Draw
:
function
(
SlideIndex
,
graphics
){
if
(
this
.
Slides
[
SlideIndex
]){
if
(
!
graphics
.
IsSlideBoundsCheckerType
){
AscCommon
.
CollaborativeEditing
.
Update_ForeignCursorsPositions
();
}
this
.
Slides
[
SlideIndex
].
drawNotes
(
graphics
);
}
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment