mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-13 07:11:12 +01:00
Don't grow a point if its size is 0
This commit is contained in:
parent
d5cf1410ed
commit
46022aabe0
1 changed files with 2 additions and 0 deletions
|
@ -311,6 +311,8 @@ class Morris.Line extends Morris.Grid
|
|||
|
||||
# @private
|
||||
pointGrowSeries: (index) ->
|
||||
if @pointSizeForSeries(index) is 0
|
||||
return
|
||||
Raphael.animation r: @pointSizeForSeries(index) + 3, 25, 'linear'
|
||||
|
||||
# @private
|
||||
|
|
Loading…
Reference in a new issue