mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-10 21:36:34 +01:00
Don't grow a point if its size is 0
This commit is contained in:
parent
d5cf1410ed
commit
46022aabe0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user