Commit 6436ddf23550375d4900b64ff44852878de48586
1 parent
2746e965
DA > Screen gets scrolled towards right if we minimize and maximize the window
Showing
1 changed file
with
6 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -528,8 +528,12 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
528 | 528 | } |
529 | 529 | |
530 | 530 | angular.element(document).ready(function () { |
531 | - | |
532 | - }) | |
531 | + function checkWidth() { | |
532 | + var CanvasDivWidthAftrMin = $("#canvasDiv").width() / 2; | |
533 | + $("#canvasDiv").scrollLeft(CanvasDivWidthAftrMin); | |
534 | + } | |
535 | + $("#daImagePanel").resize(checkWidth); | |
536 | + }) | |
533 | 537 | |
534 | 538 | |
535 | 539 | $scope.loadSearchDataForBodyView = function () { | ... | ... |