on master help sign in
Fix opacity issue discovered by @halacsy
commite2aa6087bc1f5364d43feff345a6e2b9fe4fd0bf authorEvan Czaplicki <info@elm-lang.org> dateFri 21 Mar 2014, 00:54 (13 years ago) parentef19d71
1 file changed+1−1
runtime/Render/Element.js+1−1
runtime/Render/Element.js+1−1
@@ -331,7 +331,7 @@ function updateProps(node, curr, next) {
331331 if (height !== currP.height) {
332332 e.style.height = (height|0) + 'px';
333333 }
334− if (props.opacity !== 1 && props.opacity !== currP.opacity) {
334+ if (props.opacity !== currP.opacity) {
335335 e.style.opacity = props.opacity;
336336 }
337337 var nextColor = (props.color.ctor === 'Just' ?