Don't grow a point if its size is 0

This commit is contained in:
Jelte Fennema 2014-07-10 18:59:24 +02:00
parent d5cf1410ed
commit 46022aabe0

View File

@ -311,6 +311,8 @@ class Morris.Line extends Morris.Grid
# @private # @private
pointGrowSeries: (index) -> pointGrowSeries: (index) ->
if @pointSizeForSeries(index) is 0
return
Raphael.animation r: @pointSizeForSeries(index) + 3, 25, 'linear' Raphael.animation r: @pointSizeForSeries(index) + 3, 25, 'linear'
# @private # @private