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
8f5001b2
Commit
8f5001b2
authored
Apr 07, 2016
by
joshua-gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
max fit size
parent
6a7c0f99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
js/morpheus-latest.min.js
js/morpheus-latest.min.js
+1
-1
src/ui/heat_map.js
src/ui/heat_map.js
+2
-2
No files found.
js/morpheus-latest.min.js
View file @
8f5001b2
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 @
8f5001b2
...
@@ -2984,7 +2984,7 @@ morpheus.HeatMap.prototype = {
...
@@ -2984,7 +2984,7 @@ morpheus.HeatMap.prototype = {
+
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
(
13
,
size
);
return
size
;
return
size
;
},
},
getFitRowSize
:
function
()
{
getFitRowSize
:
function
()
{
...
@@ -3008,7 +3008,7 @@ morpheus.HeatMap.prototype = {
...
@@ -3008,7 +3008,7 @@ morpheus.HeatMap.prototype = {
var
size
=
positions
.
getSize
();
var
size
=
positions
.
getSize
();
size
=
size
*
(
availablePixels
/
totalCurrent
);
size
=
size
*
(
availablePixels
/
totalCurrent
);
size
=
Math
.
min
(
22
,
size
);
size
=
Math
.
min
(
13
,
size
);
return
size
;
return
size
;
},
},
fitToWindow
:
function
(
repaint
)
{
fitToWindow
:
function
(
repaint
)
{
...
...
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