From e2aa6087bc1f5364d43feff345a6e2b9fe4fd0bf Mon Sep 17 00:00:00 2001 From: Evan Czaplicki Date: Fri, 21 Mar 2014 00:54:31 -0700 Subject: [PATCH] Fix opacity issue discovered by @halacsy --- runtime/Render/Element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Render/Element.js b/runtime/Render/Element.js index 0684a25..c0b6481 100644 --- a/runtime/Render/Element.js +++ b/runtime/Render/Element.js @@ -331,7 +331,7 @@ function updateProps(node, curr, next) { if (height !== currP.height) { e.style.height = (height|0) + 'px'; } - if (props.opacity !== 1 && props.opacity !== currP.opacity) { + if (props.opacity !== currP.opacity) { e.style.opacity = props.opacity; } var nextColor = (props.color.ctor === 'Just' ?