Skip to content

Commit

Permalink
fix: root默认颜色rgba #75
Browse files Browse the repository at this point in the history
  • Loading branch information
army8735 committed Aug 14, 2020
1 parent 461fed5 commit 9a7996f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/Xom.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ class Xom extends Node {
}
if(currentStyle.color.unit === 4) {
computedStyle.color = [0, 0, 0, 1];
__cacheStyle.color = '#000';
__cacheStyle.color = 'rgba(0,0,0,1)';
}
if(currentStyle.visibility.unit === 4) {
computedStyle.visibility = 'visible';
Expand Down

0 comments on commit 9a7996f

Please sign in to comment.