fix(hollowoutable): background-color not returned

This commit is contained in:
07akioni 2020-03-04 19:22:57 +08:00
parent d827e71588
commit 00df4c8ce8

View File

@ -33,7 +33,7 @@ function getNextBackgroundColorOf (el) {
const diffedKeys = Object.keys(diffedStyle)
if (!diffedKeys.length) {
el.style.transition = memorizedTransition
return
return nextBackgroundColor
}
for (const key of diffedKeys) {
memorizedInlineStyle[key] = el.style[key]