Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
billthefarmer committed Mar 22, 2020
1 parent aa6c519 commit ad51667
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SigGen/swift/KnobView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class KnobView: NSControl
let x = sin(value * .pi) * indentRadius
let y = cos(value * .pi) * indentRadius
let translate = AffineTransform(translationByX: x, byY: y)
indentPath.translate(using: transform)
indentPath.transform(using: translate)

// Draw indent
gradient.draw(in: indentPath, angle: 135)
Expand Down
4 changes: 2 additions & 2 deletions SigGen/swift/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ SWIFTH = SigGen-Swift.h
SOURCES = AppDelegate.swift ScaleView.swift DisplayView.swift \
KnobView.swift SigGenView.swift Audio.o

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

CFLAGS = -g -target x86_64-apple-macosx10.9
CFLAGS = -g -target x86_64-apple-macosx10.10


$(APPBUNDLE): $(APPNAME) $(APPNAME).icns
Expand Down

0 comments on commit ad51667

Please sign in to comment.