# HG changeset patch # User Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> # Date 1620493994 -7200 # Node ID b0eddc3865353a8017eced170fa49f3996ec1ef1 # Parent cda2b6a398a7d72a499804568824555991919b63 Modifying state during view update fixed diff -r cda2b6a398a7 -r b0eddc386535 Sources/StockCharts/LineChart/Helpers/LinePath.swift --- a/Sources/StockCharts/LineChart/Helpers/LinePath.swift Sat May 08 19:10:58 2021 +0200 +++ b/Sources/StockCharts/LineChart/Helpers/LinePath.swift Sat May 08 19:13:14 2021 +0200 @@ -31,12 +31,12 @@ } // Append current point to an array. Later will be used for Drag Gesture -// pathPoints.append(path.currentPoint!) + pathPoints.append(path.currentPoint!) } -// DispatchQueue.main.async { -// self.pathPoints = pathPoints -// } + DispatchQueue.main.async { + self.pathPoints = pathPoints + } return path } diff -r cda2b6a398a7 -r b0eddc386535 StockCharts.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate Binary file StockCharts.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed