Bug #5314 » 0002-Retain-height-for-WStackedAnimation-fade-in-layout.patch
src/js/WStackedWidget.js | ||
---|---|---|
to.style.left = '';
|
||
to.style.width = '';
|
||
to.style.top = '';
|
||
to.style.height = to.nativeHeight;
|
||
/* If fade-only animation within a layout, retain set height */
|
||
if (effects !== Fade
|
||
|| typeof jQuery.data(stack.parentNode, 'layout') === 'undefined')
|
||
to.style.height = to.nativeHeight;
|
||
to.nativeHeight = null;
|
||
if (WT.isGecko && (effects & Fade))
|
||
to.style.opacity = '1';
|
||
to.style[WT.styleAttribute('animation-duration')] = '';
|
- « Previous
- 1
- 2
- 3
- Next »