Skip to content

Commit e69eb3b

Browse files
committed
Only change opacity of "after" layer (fixes #55)
1 parent c51352f commit e69eb3b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

webdiff/static/js/components.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,6 @@ var ImageSwipe = React.createClass({
538538
'background-position-x': -Math.floor(frac * imB.width) + 'px'
539539
});
540540
} else {
541-
_.extend(styleA, {opacity: (1.0 - frac)});
542541
_.extend(styleB, {opacity: frac});
543542
}
544543

0 commit comments

Comments
 (0)