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
f1346b5c
Commit
f1346b5c
authored
Dec 23, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix CreateColorByName
parent
4c17621b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
cell/apiBuilder.js
cell/apiBuilder.js
+1
-1
common/Drawings/Format/Format.js
common/Drawings/Format/Format.js
+1
-0
No files found.
cell/apiBuilder.js
View file @
f1346b5c
...
...
@@ -208,7 +208,7 @@
* @returns {ApiColor}
*/
Api
.
prototype
.
CreateColorByName
=
function
(
presetColor
)
{
var
rgb
=
map_prst_c
olor
[
presetColor
];
var
rgb
=
AscFormat
.
mapPrstC
olor
[
presetColor
];
return
new
ApiColor
(
AscCommonExcel
.
createRgbColor
((
rgb
>>
16
)
&
0xFF
,
(
rgb
>>
8
)
&
0xFF
,
rgb
&
0xFF
));
};
...
...
common/Drawings/Format/Format.js
View file @
f1346b5c
...
...
@@ -12724,6 +12724,7 @@ function CorrectUniColor(asc_color, unicolor, flag)
window
[
'
AscFormat
'
].
Ax_Counter
=
Ax_Counter
;
window
[
'
AscFormat
'
].
TYPE_TRACK
=
TYPE_TRACK
;
window
[
'
AscFormat
'
].
TYPE_KIND
=
TYPE_KIND
;
window
[
'
AscFormat
'
].
mapPrstColor
=
map_prst_color
;
window
[
'
AscFormat
'
].
ar_arrow
=
ar_arrow
;
window
[
'
AscFormat
'
].
ar_diamond
=
ar_diamond
;
window
[
'
AscFormat
'
].
ar_none
=
ar_none
;
...
...
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