Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
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
web-apps
Commits
470caa09
Commit
470caa09
authored
Nov 22, 2016
by
Alexander Yuzhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE mobile] Fixed paragraph styles.
parent
fb589034
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
apps/documenteditor/mobile/app/controller/edit/EditParagraph.js
...ocumenteditor/mobile/app/controller/edit/EditParagraph.js
+5
-4
No files found.
apps/documenteditor/mobile/app/controller/edit/EditParagraph.js
View file @
470caa09
...
...
@@ -78,6 +78,8 @@ define([
var
me
=
this
;
me
.
api
=
api
;
me
.
api
.
asc_setParagraphStylesSizes
(
330
,
38
);
me
.
api
.
asc_registerCallback
(
'
asc_onInitEditorStyles
'
,
_
.
bind
(
me
.
onApiInitEditorStyles
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onFocusObject
'
,
_
.
bind
(
me
.
onApiFocusObject
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onParaStyleName
'
,
_
.
bind
(
me
.
onApiParagraphStyleChange
,
me
));
...
...
@@ -302,11 +304,10 @@ define([
return
;
}
_styles
=
[];
_styles
=
[],
_styleTumbSize
=
{
width
:
styles
.
STYLE_THUMBNAIL_WIDTH
/
uiApp
.
device
.
pixelRatio
,
height
:
styles
.
STYLE_THUMBNAIL_HEIGHT
/
uiApp
.
device
.
pixelRatio
width
:
styles
.
STYLE_THUMBNAIL_WIDTH
,
height
:
styles
.
STYLE_THUMBNAIL_HEIGHT
};
_
.
each
(
styles
.
get_MergedStyles
(),
function
(
style
){
...
...
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