Turned shadow caching back on, with a little buffer. Makes a bigger diff for maps like Greed on Firefox where they're all over the place.

This commit is contained in:
Scott Erickson 2014-05-15 13:19:10 -07:00
parent 3a1afbb7ca
commit 2a1d9a3c6c

View file

@ -113,7 +113,7 @@ module.exports = class Mark extends CocoClass
@mark.regX = width / 2
@mark.regY = height / 2
@mark.layerIndex = 10
@mark.cache 0, 0, width, height # not actually faster than simple ellipse draw
@mark.cache -1, 0, width+2, height # not actually faster than simple ellipse draw
buildRadius: (range) ->
alpha = 0.15