提交 fee3bd38 编写于 作者: L lang

Single canvas bg color fix

上级 90ae5407
......@@ -373,8 +373,9 @@ define(function (require) {
}
}
var painter = this._zr.painter;
// TODO all use clearColor ?
if (env.node) {
if (painter.isSingleCanvas && painter.isSingleCanvas()) {
this._zr.configLayer(0, {
clearColor: backgroundColor
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册