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
43ecce2a
Commit
43ecce2a
authored
Apr 07, 2016
by
joshua-gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
overflow
parent
fab2360f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
js/morpheus-latest.min.js
js/morpheus-latest.min.js
+1
-1
src/ui/heat_map.js
src/ui/heat_map.js
+4
-2
No files found.
js/morpheus-latest.min.js
View file @
43ecce2a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/ui/heat_map.js
View file @
43ecce2a
...
@@ -291,8 +291,8 @@ morpheus.HeatMap = function(options) {
...
@@ -291,8 +291,8 @@ morpheus.HeatMap = function(options) {
'
-o-user-select
'
:
'
none
'
,
'
-o-user-select
'
:
'
none
'
,
'
-o-user-drag
'
:
'
none
'
,
'
-o-user-drag
'
:
'
none
'
,
'
-o-tap-highlight-color
'
:
'
rgba(0, 0, 0, 0)
'
,
'
-o-tap-highlight-color
'
:
'
rgba(0, 0, 0, 0)
'
,
'
overflow
'
:
''
'
overflow
'
:
'
auto
'
});
});
var
tab
=
this
.
tabManager
.
add
({
var
tab
=
this
.
tabManager
.
add
({
...
@@ -2961,6 +2961,7 @@ morpheus.HeatMap.prototype = {
...
@@ -2961,6 +2961,7 @@ morpheus.HeatMap.prototype = {
getFitRowSize
:
function
()
{
getFitRowSize
:
function
()
{
var
heatmap
=
this
.
heatmap
;
var
heatmap
=
this
.
heatmap
;
var
availablePixels
=
this
.
getAvailableHeight
();
var
availablePixels
=
this
.
getAvailableHeight
();
if
(
this
.
columnDendrogram
)
{
if
(
this
.
columnDendrogram
)
{
availablePixels
-=
this
.
columnDendrogram
.
getUnscaledHeight
();
availablePixels
-=
this
.
columnDendrogram
.
getUnscaledHeight
();
}
}
...
@@ -2975,6 +2976,7 @@ morpheus.HeatMap.prototype = {
...
@@ -2975,6 +2976,7 @@ morpheus.HeatMap.prototype = {
var
positions
=
heatmap
.
getRowPositions
();
var
positions
=
heatmap
.
getRowPositions
();
var
totalCurrent
=
positions
.
getItemSize
(
positions
.
getLength
()
-
1
)
var
totalCurrent
=
positions
.
getItemSize
(
positions
.
getLength
()
-
1
)
+
positions
.
getPosition
(
positions
.
getLength
()
-
1
);
+
positions
.
getPosition
(
positions
.
getLength
()
-
1
);
var
size
=
positions
.
getSize
();
var
size
=
positions
.
getSize
();
size
=
size
*
(
availablePixels
/
totalCurrent
);
size
=
size
*
(
availablePixels
/
totalCurrent
);
size
=
Math
.
min
(
22
,
size
);
size
=
Math
.
min
(
22
,
size
);
...
...
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