Permalink
Browse files

MenuScroller 1.3.3

frixed animation on elements that are becoming inactive
  • Loading branch information...
1 parent b7d59fd commit 8736b1043390768dd6446bd78603e11124c8f348 @mstandio committed Apr 1, 2013
@@ -34,7 +34,7 @@ package com.panozona.modules.menuscroller {
private var windowController:WindowController;
public function MenuScroller(){
- super("MenuScroller", "1.3.2", "http://openpano.org/links/saladoplayer/modules/menuscroller/");
+ super("MenuScroller", "1.3.3", "http://openpano.org/links/saladoplayer/modules/menuscroller/");
moduleDescription.addFunctionDescription("setOpen", Boolean);
moduleDescription.addFunctionDescription("toggleOpen");
moduleDescription.addFunctionDescription("setGroup", String);
@@ -185,7 +185,7 @@ package com.panozona.modules.menuscroller.controller {
scaleY: plainScale * hoverScale,
x: -_elementView.elementData.plainSize.width * hoverScale * 0.5,
y: -_elementView.elementData.plainSize.height * hoverScale * 0.5,
- time: useTime ? scroller.overTween.time * 0.5 : 0,
+ time: useTime ? scroller.overTween.time * 0.25 : 0,
transition: scroller.overTween.transition
});
} else {
@@ -146,7 +146,6 @@ package com.panozona.modules.menuscroller.controller{
} else if (_scrollerView.elementsContainer.x > 0) {
_scrollerView.elementsContainer.x = 0;
}
- trace(_scrollerView.menuScrollerData.scrollerData.totalSize);
}
onEnterFrame();
}
@@ -156,7 +155,8 @@ package com.panozona.modules.menuscroller.controller{
}
private function onElementActive(e:Event = null):void {
- handleWindowSizeChange();
+ recalulateTotalSize();
+ onEnterFrame();
}
private function recalulateTotalSize():void {

0 comments on commit 8736b10

Please sign in to comment.