diff --git a/js/app/controllers/InteractivePlotMgr.js b/js/app/controllers/InteractivePlotMgr.js index 93858df..f81be34 100644 --- a/js/app/controllers/InteractivePlotMgr.js +++ b/js/app/controllers/InteractivePlotMgr.js @@ -25,7 +25,6 @@ Ext.define('amdaDesktop.InteractivePlotMgr', { multiSelector: false, maxWinNumber : 5, - //original image values : 700, 987; 987, 700 imgOffset : { x : 70, y : 85 }, winSize : { landscape : { width : 0, height : 0 }, @@ -34,8 +33,8 @@ Ext.define('amdaDesktop.InteractivePlotMgr', { }, imgSize : { - landscape : { width : 987, height : 700 }, - portrait : { width : 700, height : 987 } + landscape : { width : 1052, height : 744 }, + portrait : { width : 744, height : 1052 } }, maxWinNumber : 5, @@ -240,8 +239,8 @@ Ext.define('amdaDesktop.InteractivePlotMgr', { var sizeImg = Ext.clone(size); var interactivePlotMgr = myDesktopApp.getLoadedModule(myDesktopApp.dynamicModules.interactive_plot.id); if (interactivePlotMgr) - panelResult.panelImage.setSize(sizeImg.width-interactivePlotMgr.imgOffset.x, - sizeImg.height-interactivePlotMgr.imgOffset.y); + panelResult.panelImage.setSize(sizeImg.width-amdaDesktop.InteractivePlotMgr.imgOffset.x, + sizeImg.height-amdaDesktop.InteractivePlotMgr.imgOffset.y); } panelResult.panelImage.setSrc('data/'+sessionID +'/RES/'+resultId+'/'+ outputName +'.png'); -- libgit2 0.21.2