Mark Lenser pushed to branch feature/visual-editing-psp1-CHANNELMGR-843 at 
cms-community / hippo-addon-channel-manager


Commits:
a326ee35 by Mark at 2016-09-22T15:13:07+02:00
CHANNELMGR-843 move comment

- - - - -


1 changed file:

- frontend-ng/src/angularjs/channel/hippoIframe/scaling.service.js


Changes:

=====================================
frontend-ng/src/angularjs/channel/hippoIframe/scaling.service.js
=====================================
--- a/frontend-ng/src/angularjs/channel/hippoIframe/scaling.service.js
+++ b/frontend-ng/src/angularjs/channel/hippoIframe/scaling.service.js
@@ -120,14 +120,13 @@ export class ScalingService {
       const targetOffset = oldScale === 1.0 ? newScale * currentOffset : 
currentOffset / oldScale;
 
       if (targetOffset !== currentOffset) {
-        // keep scroll-position constant during animation
         elementsToScale.velocity('scroll', {
           container: iframeBaseJQueryElement,
           offset: targetOffset - currentOffset,
           duration: this.scaleDuration,
           easing: this.scaleEasing,
           queue: false,
-        });
+        }); // keep scroll-position constant during animation
       }
       elementsToScale.css('transform', `scale(${newScale})`);
     }



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/a326ee35fddad762a78458b425a4074ff6fd0374
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to