Skip to content

Commit

Permalink
update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
potato04 committed Sep 28, 2018
1 parent 1b6cc38 commit daff645
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Source/Charts/Components/YAxis.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,12 @@ open class YAxis: AxisBase
if _customAxisMax && _customAxisMin
{
(min, max) = (max, min)
} else if _customAxisMax && !_customAxisMin
}
else if _customAxisMax && !_customAxisMin
{
min = max - 1
} else if !_customAxisMax && _customAxisMin
}
else if !_customAxisMax && _customAxisMin
{
max = min + 1
}
Expand Down

0 comments on commit daff645

Please sign in to comment.