quark-dev-team/quarkjs — Issue #8: Graphics, Bug 一枚
Author: goldenlove
Created: 2012-03-07 03:50:56+00:00
State: open

Graphics.js 271 行

Graphics.prototype.clear = function()
{
this._actions.length = 0;
this._cache = 0;

this._cache = 0; 得改成 this._cache = null;

否则会clear掉舞台上所有对象。实测改成null就正常鸟~