Skip to content

Commit

Permalink
Update ViewPortHandler.swift (#3143)
Browse files Browse the repository at this point in the history
fix a small bug
  • Loading branch information
ParkinWu authored and jjatie committed Jan 1, 2018
1 parent 48ac6a6 commit 9706fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Charts/Utils/ViewPortHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ open class ViewPortHandler: NSObject
@objc open func setMinMaxScaleX(minScaleX: CGFloat, maxScaleX: CGFloat)
{
var newMin = minScaleX
var newMax = minScaleY
var newMax = maxScaleX

if newMin < 1.0
{
Expand Down

0 comments on commit 9706fa1

Please sign in to comment.