mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-13 07:11:12 +01:00
Merge pull request #449 from JelteF/pointsize-zero
Don't grow a point if its size is 0
This commit is contained in:
commit
ed1bc7584a
1 changed files with 2 additions and 0 deletions
|
@ -314,6 +314,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