Fix opacity issue discovered by @halacsy

This commit is contained in:
Evan Czaplicki 2014-03-21 00:54:31 -07:00
parent ef19d7146d
commit e2aa6087bc

View file

@ -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' ?