Commit 8f5001b2 authored by joshua-gould's avatar joshua-gould

max fit size

parent 6a7c0f99
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment