Skip to content

Commit ad51667

Browse files
committed
Update code
1 parent aa6c519 commit ad51667

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SigGen/swift/KnobView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class KnobView: NSControl
126126
let x = sin(value * .pi) * indentRadius
127127
let y = cos(value * .pi) * indentRadius
128128
let translate = AffineTransform(translationByX: x, byY: y)
129-
indentPath.translate(using: transform)
129+
indentPath.transform(using: translate)
130130

131131
// Draw indent
132132
gradient.draw(in: indentPath, angle: 135)

SigGen/swift/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ SWIFTH = SigGen-Swift.h
4747
SOURCES = AppDelegate.swift ScaleView.swift DisplayView.swift \
4848
KnobView.swift SigGenView.swift Audio.o
4949

50-
SFLAGS = -g -target x86_64-apple-macosx10.9 \
50+
SFLAGS = -g -target x86_64-apple-macosx10.10 \
5151
-import-objc-header $(HEADER) -emit-objc-header-path $(SWIFTH) \
5252
-Xlinker -rpath -Xlinker @loader_path/../Frameworks -Xlinker -w
5353

54-
CFLAGS = -g -target x86_64-apple-macosx10.9
54+
CFLAGS = -g -target x86_64-apple-macosx10.10
5555

5656

5757
$(APPBUNDLE): $(APPNAME) $(APPNAME).icns

0 commit comments

Comments
 (0)