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
30380ed7
Commit
30380ed7
authored
May 30, 2016
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Исправлено зависание при переходе вниз с помощью клавиатуры.
parent
b643285f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
word/Editor/Document.js
word/Editor/Document.js
+19
-1
No files found.
word/Editor/Document.js
View file @
30380ed7
...
...
@@ -15511,8 +15511,23 @@ CDocument.prototype.private_MoveCursorDown = function(StartX, StartY, AddToSelec
if
(
this
.
CurPage
<
NewPage
)
{
this
.
CurPage
=
NewPage
;
StartY
+=
0.1
;
if
(
StartY
>
this
.
Pages
[
NewPage
].
Height
)
{
NewPage
++
;
if
(
this
.
Pages
.
length
-
1
<
NewPage
)
{
Result
=
false
;
break
;
}
StartY
=
0
;
}
else
{
StartY
+=
0.1
;
}
this
.
CurPage
=
NewPage
;
}
else
{
...
...
@@ -15520,6 +15535,9 @@ CDocument.prototype.private_MoveCursorDown = function(StartX, StartY, AddToSelec
}
}
if
(
false
===
Result
)
break
;
CurY
=
StartY
;
}
}
...
...
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