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
d8cc7e4a
Commit
d8cc7e4a
authored
Nov 25, 2016
by
Alexey.Musinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mobile-coautoring
parent
c28d2ab1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
23 deletions
+3
-23
cell/native/native.js
cell/native/native.js
+3
-23
No files found.
cell/native/native.js
View file @
d8cc7e4a
...
...
@@ -3917,14 +3917,14 @@ function OfflineEditor () {
var
stream
=
global_memory_stream_menu
;
stream
[
"
ClearNoAttack
"
]();
asc_WriteUsers
(
users
,
stream
);
window
[
"
native
"
][
"
OnCallMenuEvent
"
](
2
416
,
stream
);
// ASC_MENU_EVENT_TYPE_AUTH
_PARTICIPANTS_CHANGED
window
[
"
native
"
][
"
OnCallMenuEvent
"
](
2
0101
,
stream
);
// ASC_COAUTH_EVENT_TYPE
_PARTICIPANTS_CHANGED
});
_api
.
asc_registerCallback
(
"
asc_onParticipantsChanged
"
,
function
(
users
)
{
var
stream
=
global_memory_stream_menu
;
stream
[
"
ClearNoAttack
"
]();
asc_WriteUsers
(
users
,
stream
);
window
[
"
native
"
][
"
OnCallMenuEvent
"
](
2
416
,
stream
);
// ASC_MENU_EVENT_TYPE_AUTH
_PARTICIPANTS_CHANGED
window
[
"
native
"
][
"
OnCallMenuEvent
"
](
2
0101
,
stream
);
// ASC_COAUTH_EVENT_TYPE
_PARTICIPANTS_CHANGED
});
_api
.
asc_registerCallback
(
"
asc_onSheetsChanged
"
,
function
()
{
...
...
@@ -7367,32 +7367,12 @@ function testLockedObjects () {
for
(
var
j
=
0
;
j
<
drawingArea
.
frozenPlaces
.
length
;
++
j
)
{
if
(
drawingArea
.
frozenPlaces
[
j
].
isObjectInside
(
drawingObject
))
{
//var canvas = _this.ws.objectRender.getDrawingCanvas();
// _this.setTransform(canvas.shapeCtx, canvas.shapeOverlayCtx, canvas.autoShapeTrack);
// _this.clip(canvas.shapeCtx);
//object.graphicObject.draw(canvas.shapeCtx);
// Lock
if
(
(
drawingObject
.
graphicObject
.
lockType
!=
undefined
)
&&
(
drawingObject
.
graphicObject
.
lockType
!=
AscCommon
.
c_oAscLockTypes
.
kLockTypeNone
)
)
{
//canvas.shapeCtx.SetIntegerGrid(false);
//canvas.shapeCtx.transform3(object.graphicObject.transform, false);
//canvas.shapeCtx.DrawLockObjectRect(object.graphicObject.lockType, 0, 0, object.graphicObject.extX, object.graphicObject.extY );
//canvas.shapeCtx.reset();
//canvas.shapeCtx.SetIntegerGrid(true);
overlay
.
transform3
(
drawingObject
.
graphicObject
.
transform
,
false
,
"
PD_LockObjectTransform
"
);
overlay
.
Native
[
"
PD_DrawLockObjectRect
"
](
drawingObject
.
graphicObject
.
lockType
,
0
,
0
,
drawingObject
.
graphicObject
.
extX
,
drawingObject
.
graphicObject
.
extY
);
// console.log("lockType : " + drawingObject.graphicObject.lockType);
}
else
{
}
//_this.restore(canvas.shapeCtx);
}
}
}
...
...
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