on master help sign in
Fix opacity issue discovered by @halacsy
e2aa608Evan Czaplicki
runtime/Render/Element.js+1−1
@@ -331,7 +331,7 @@ function updateProps(node, curr, next) {
331 if (height !== currP.height) {
331 if (height !== currP.height) {
332 e.style.height = (height|0) + 'px';
332 e.style.height = (height|0) + 'px';
333 }
333 }
334− if (props.opacity !== 1 && props.opacity !== currP.opacity) {
334+ if (props.opacity !== currP.opacity) {
335 e.style.opacity = props.opacity;
335 e.style.opacity = props.opacity;
336 }
336 }
337 var nextColor = (props.color.ctor === 'Just' ?
337 var nextColor = (props.color.ctor === 'Just' ?