Skip to content

Commit

Permalink
Update SigGen
Browse files Browse the repository at this point in the history
  • Loading branch information
billthefarmer committed Mar 23, 2023
1 parent e242cab commit de6cfb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SigGen/swift/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class AppDelegate: NSObject, NSApplicationDelegate
fineSlider.target = self
fineSlider.action = #selector(sliderChange)
fineSlider.toolTip = "Fine frequency"
fineSlider.doubleValue = 0.5
fineSlider.doubleValue = kFineRef
fineSlider.tag = kTagFine
setVertical(fineSlider, true)

Expand Down
4 changes: 2 additions & 2 deletions SigGen/swift/SigGenView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ class SigGenView: NSView
knobView.value = round((knobView.value * 100.0) + 1) / 100.0

case kPriorKey:
levelSlider.doubleValue += 0.01
levelSlider.doubleValue += 0.00625
levelSlider.sendAction(fineSlider.action, to: levelSlider.target)

case kNextKey:
levelSlider.doubleValue -= 0.01
levelSlider.doubleValue -= 0.00625
levelSlider.sendAction(fineSlider.action, to: levelSlider.target)

default:
Expand Down

0 comments on commit de6cfb2

Please sign in to comment.