提交 9b056e47 编写于 作者: L lang

Fix #3223

上级 bf1ce219
...@@ -9,6 +9,7 @@ define(function (require) { ...@@ -9,6 +9,7 @@ define(function (require) {
var formatUtil = require('../../util/format'); var formatUtil = require('../../util/format');
var each = zrUtil.each; var each = zrUtil.each;
var toCamelCase = formatUtil.toCamelCase; var toCamelCase = formatUtil.toCamelCase;
var env = require('zrender/core/env');
var vendors = ['', '-webkit-', '-moz-', '-o-']; var vendors = ['', '-webkit-', '-moz-', '-o-'];
...@@ -75,12 +76,16 @@ define(function (require) { ...@@ -75,12 +76,16 @@ define(function (require) {
cssText.push(assembleTransition(transitionDuration)); cssText.push(assembleTransition(transitionDuration));
if (backgroundColor) { if (backgroundColor) {
// for ie if (env.canvasSupported) {
cssText.push( cssText.push('background-Color:' + backgroundColor);
'background-Color:' + zrColor.toHex(backgroundColor) }
); else {
cssText.push('filter:alpha(opacity=70)'); // for ie
cssText.push('background-Color:' + backgroundColor); cssText.push(
'background-Color:#' + zrColor.toHex(backgroundColor)
);
cssText.push('filter:alpha(opacity=70)');
}
} }
// Border style // Border style
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册