Light meter

This commit is contained in:
2014-06-14 20:50:45 -07:00
parent be95660e95
commit 862e997fa6

View File

@@ -1139,8 +1139,8 @@ GameState.prototype.update_player_lightmeter = function() {
lightValue = lv; lightValue = lv;
} }
}, this) }, this)
this.lightbar_crop.width = Math.min(this.lightbar_image.width, console.log(lightValue);
(this.lightbar_image.width * lightValue)); this.lightbar_crop.width = (this.lightbar_image.width * lightValue);
this.lightbar.crop(this.lightbar_crop); this.lightbar.crop(this.lightbar_crop);
} }