提交 38f1b0eb 编写于 作者: M Mr.doob

CanvasRenderer: Seems like Firefox now supports context.setLineDash()

上级 395cb9c5
......@@ -82,19 +82,7 @@ THREE.CanvasRenderer = function ( parameters ) {
if ( _context.setLineDash === undefined ) {
if ( _context.mozDash !== undefined ) {
_context.setLineDash = function ( values ) {
_context.mozDash = values[ 0 ] !== null ? values : null;
}
} else {
_context.setLineDash = function () {}
}
_context.setLineDash = function () {}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册