Commit 283620cac8f2d26f9c0b3a960300e81b205e500e
1 parent
71c9c711
20320
Showing
2 changed files
with
3 additions
and
4 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... | ... | @@ -247,9 +247,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou |
247 | 247 | if (document.getElementById('aaDetailPageDiv') != null) { |
248 | 248 | |
249 | 249 | //0.4 added some stylesheets |
250 | - $('.aaBodyView').css("height", $(window).outerHeight() - $('.navbar-fixed-top').height()); | |
251 | - $('.aaBodyView').css("width", $(window).outerWidth()); | |
252 | - $rootScope.canvasDivHeight = $('.aaBodyView').height(); | |
250 | + | |
251 | + $rootScope.canvasDivHeight = $('.jsPanel-content').height() - $('.main2 .stickey-area').height(); | |
253 | 252 | |
254 | 253 | $('.canvasDivClass').css("height", $rootScope.canvasDivHeight); |
255 | 254 | ... | ... |
400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js
... | ... | @@ -2858,7 +2858,7 @@ _html2canvas.Renderer.Canvas = function(options) { |
2858 | 2858 | if (/*@cc_on!@*/false || !!document.documentMode) { |
2859 | 2859 | |
2860 | 2860 | var imgData = canvas.getContext("2d").getImageData(bounds.left, bounds.top, bounds.width, bounds.height); |
2861 | - ctx.putImageData(imgData, 50, 0); | |
2861 | + ctx.putImageData(imgData, 0, 0); | |
2862 | 2862 | } |
2863 | 2863 | else { |
2864 | 2864 | ... | ... |