Bug #2048 » wstackedwidget_ff_animation_fix_20130717a.diff
| src/js/WStackedWidget.js | ||
|---|---|---|
|
to.style.width = w + 'px';
|
||
|
to.style.height = h + 'px';
|
||
|
to.style.position = 'absolute';
|
||
|
if (effects & Fade)
|
||
|
to.style.opacity = '0';
|
||
|
to.style.display = style.display;
|
||
|
var needReverse = reverseIfPrecedes && (index.to < index.from),
|
||
| ... | ... | |
|
$(from).addClass(anim + ' out');
|
||
|
$(to).addClass(anim + ' in');
|
||
|
if (effects & Fade)
|
||
|
to.style.opacity = '1';
|
||
|
$(to).one(animationEventEnd, restore);
|
||
|
};
|
||
- « Previous
- 1
- 2
- Next »