Commit 43ecce2a authored by joshua-gould's avatar joshua-gould

overflow

parent fab2360f
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -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);
......
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