Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
morpheus.js
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daria Zenkova
morpheus.js
Commits
45589315
Commit
45589315
authored
Apr 07, 2016
by
joshua-gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inherit color scheme
parent
f4b29778
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/ui/heat_map.js
src/ui/heat_map.js
+4
-3
No files found.
src/ui/heat_map.js
View file @
45589315
...
@@ -1539,7 +1539,7 @@ morpheus.HeatMap.prototype = {
...
@@ -1539,7 +1539,7 @@ morpheus.HeatMap.prototype = {
reorderTracks
(
this
.
options
.
rows
,
false
);
reorderTracks
(
this
.
options
.
rows
,
false
);
reorderTracks
(
this
.
options
.
columns
,
true
);
reorderTracks
(
this
.
options
.
columns
,
true
);
var
colorSchemeSpecified
=
this
.
options
.
colorScheme
!=
null
;
if
(
this
.
options
.
colorScheme
==
null
)
{
if
(
this
.
options
.
colorScheme
==
null
)
{
var
ext
=
''
;
var
ext
=
''
;
if
(
this
.
options
.
dataSource
)
{
if
(
this
.
options
.
dataSource
)
{
...
@@ -1581,7 +1581,7 @@ morpheus.HeatMap.prototype = {
...
@@ -1581,7 +1581,7 @@ morpheus.HeatMap.prototype = {
}
}
if
(
this
.
options
.
parent
&&
this
.
options
.
inheritFromParent
if
(
this
.
options
.
parent
&&
this
.
options
.
inheritFromParent
&&
!
this
.
options
.
colorScheme
)
{
&&
!
colorSchemeSpecified
)
{
heatmap
.
setColorScheme
(
this
.
options
.
parent
.
heatmap
.
getColorScheme
()
heatmap
.
setColorScheme
(
this
.
options
.
parent
.
heatmap
.
getColorScheme
()
.
copy
(
this
.
project
));
.
copy
(
this
.
project
));
}
else
{
}
else
{
...
@@ -3251,6 +3251,7 @@ morpheus.HeatMap.prototype = {
...
@@ -3251,6 +3251,7 @@ morpheus.HeatMap.prototype = {
this
.
$parent
.
css
({
this
.
$parent
.
css
({
height
:
Math
.
ceil
(
totalHeight
)
+
'
px
'
height
:
Math
.
ceil
(
totalHeight
)
+
'
px
'
});
});
this
.
updatingScroll
=
false
;
this
.
updatingScroll
=
false
;
this
.
trigger
(
'
change
'
,
{
this
.
trigger
(
'
change
'
,
{
name
:
'
revalidate
'
,
name
:
'
revalidate
'
,
...
...
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