Skip to content

Commit

Permalink
revert to old tnoodle, fix colour
Browse files Browse the repository at this point in the history
  • Loading branch information
pdtxie committed Mar 28, 2024
1 parent 7944bea commit 4fae247
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CubeTime.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
23418F592BB2A8C900398EE2 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 23418F582BB2A8C900398EE2 /* StoreKit.framework */; };
2359689327A367A0003ED9E1 /* StopwatchManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2359689227A367A0003ED9E1 /* StopwatchManager.swift */; };
235CD3022BB37C2200F6095A /* TNoodle.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E5B1FCEC2BAD892A007C1688 /* TNoodle.xcframework */; };
235CD3032BB37C2200F6095A /* TNoodle.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E5B1FCEC2BAD892A007C1688 /* TNoodle.xcframework */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
235CD3032BB37C2200F6095A /* TNoodle.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E5B1FCEC2BAD892A007C1688 /* TNoodle.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
235CDA0327A786D800F48C89 /* Updates.swift in Sources */ = {isa = PBXBuildFile; fileRef = 235CDA0227A786D800F48C89 /* Updates.swift */; };
235D6A6729C2C060002D90D8 /* Models.swift in Sources */ = {isa = PBXBuildFile; fileRef = 235D6A6629C2C060002D90D8 /* Models.swift */; };
235D6A6929C2C0D3002D90D8 /* HelperShare.swift in Sources */ = {isa = PBXBuildFile; fileRef = 235D6A6829C2C0D3002D90D8 /* HelperShare.swift */; };
Expand Down
2 changes: 1 addition & 1 deletion CubeTime/3rdparty-Bridging-Header.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define Bridging_Header_h

#import "graal_isolate.h"
#import "libtnoodle.h"
#import "org.worldcubeassociation.tnoodle.scrambles.main.h"
#import "getBestAverage.h++"

#endif /* Bridging_Header_h */
6 changes: 3 additions & 3 deletions CubeTime/Stats/TimeTrend/TimeTrendViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class TimeTrendLineChartScrollView: UIScrollView {
xAxis.move(to: CGPoint(x: leftX, y: self.frame.height - CHART_BOTTOM_PADDING - 0.5))
xAxis.lineWidth = 1
xAxis.addLine(to: CGPoint(x: rightX, y: self.frame.height - CHART_BOTTOM_PADDING - 0.5))
context.setStrokeColor(UIColor(Color("indent0")).cgColor)
context.setStrokeColor(UIColor(Color("dark").opacity(0.16)).cgColor)
xAxis.stroke()


Expand Down Expand Up @@ -362,7 +362,7 @@ class TimeTrendLineChartScrollView: UIScrollView {
trendLine.stroke()
trendLine.removeAllPoints()
trendLine.move(to: mid)
context.setStrokeColor(UIColor(Color("indent0")).cgColor)
context.setStrokeColor(UIColor(Color("dark").opacity(0.16)).cgColor)
} else if Penalty(rawValue: prev.solve.penalty) == .dnf {
trendLine.stroke()
trendLine.removeAllPoints()
Expand Down Expand Up @@ -579,7 +579,7 @@ class TimeTrendViewController: UIViewController, UIScrollViewDelegate {
}

let lineView = UIView()
lineView.backgroundColor = UIColor(Color("indent0"))
lineView.backgroundColor = UIColor(Color("dark").opacity(0.16))

view.spacing = 6
view.addArrangedSubview(lineView)
Expand Down

0 comments on commit 4fae247

Please sign in to comment.