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
63d5c00a
Commit
63d5c00a
authored
7 years ago
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check idle in spreadsheets
parent
26d9821e
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
132 additions
and
128 deletions
+132
-128
cell/view/WorkbookView.js
cell/view/WorkbookView.js
+128
-128
cell/view/WorksheetView.js
cell/view/WorksheetView.js
+4
-0
No files found.
cell/view/WorkbookView.js
View file @
63d5c00a
This diff is collapsed.
Click to expand it.
cell/view/WorksheetView.js
View file @
63d5c00a
...
@@ -1966,6 +1966,7 @@
...
@@ -1966,6 +1966,7 @@
if
(
lockDraw
||
this
.
model
.
workbook
.
bCollaborativeChanges
||
window
[
'
IS_NATIVE_EDITOR
'
])
{
if
(
lockDraw
||
this
.
model
.
workbook
.
bCollaborativeChanges
||
window
[
'
IS_NATIVE_EDITOR
'
])
{
return
this
;
return
this
;
}
}
this
.
handlers
.
trigger
(
"
checkLastWork
"
);
this
.
_clean
();
this
.
_clean
();
this
.
_drawCorner
();
this
.
_drawCorner
();
this
.
_drawColumnHeaders
(
/*drawingCtx*/
undefined
);
this
.
_drawColumnHeaders
(
/*drawingCtx*/
undefined
);
...
@@ -3736,6 +3737,8 @@
...
@@ -3736,6 +3737,8 @@
return
;
return
;
}
}
this
.
handlers
.
trigger
(
"
checkLastWork
"
);
// set clipping rect to cells area
// set clipping rect to cells area
var
ctx
=
this
.
overlayCtx
;
var
ctx
=
this
.
overlayCtx
;
ctx
.
save
().
beginPath
()
ctx
.
save
().
beginPath
()
...
@@ -6031,6 +6034,7 @@
...
@@ -6031,6 +6034,7 @@
};
};
WorksheetView
.
prototype
.
getCursorTypeFromXY
=
function
(
x
,
y
,
isViewerMode
)
{
WorksheetView
.
prototype
.
getCursorTypeFromXY
=
function
(
x
,
y
,
isViewerMode
)
{
this
.
handlers
.
trigger
(
"
checkLastWork
"
);
var
res
,
c
,
r
,
f
,
i
,
offsetX
,
offsetY
,
cellCursor
;
var
res
,
c
,
r
,
f
,
i
,
offsetX
,
offsetY
,
cellCursor
;
var
sheetId
=
this
.
model
.
getId
(),
userId
,
lockRangePosLeft
,
lockRangePosTop
,
lockInfo
,
oHyperlink
;
var
sheetId
=
this
.
model
.
getId
(),
userId
,
lockRangePosLeft
,
lockRangePosTop
,
lockInfo
,
oHyperlink
;
var
widthDiff
=
0
,
heightDiff
=
0
,
isLocked
=
false
,
target
=
c_oTargetType
.
Cells
,
row
=
-
1
,
col
=
-
1
,
isSelGraphicObject
,
isNotFirst
;
var
widthDiff
=
0
,
heightDiff
=
0
,
isLocked
=
false
,
target
=
c_oTargetType
.
Cells
,
row
=
-
1
,
col
=
-
1
,
isSelGraphicObject
,
isNotFirst
;
...
...
This diff is collapsed.
Click to expand it.
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