updated 地图静态时不反复进行绘制计算,而是缓存

This commit is contained in:
mumuy
2016-05-10 00:40:06 +08:00
parent 67f551d9c0
commit d1437651c9
2 changed files with 15 additions and 1 deletions

View File

@@ -143,6 +143,7 @@
x:60,
y:10,
data:_DATA,
cache:true,
draw:function(context){
for(var j=0; j<this.y_length; j++){
for(var i=0; i<this.x_length; i++){