diff --git a/export/gravy.svg b/export/gravy.svg index b1d42e6..693ad15 100644 --- a/export/gravy.svg +++ b/export/gravy.svg @@ -11,7 +11,7 @@ - + diff --git a/src/sapphire_panel.cpp b/src/sapphire_panel.cpp index da35e68..594153c 100644 --- a/src/sapphire_panel.cpp +++ b/src/sapphire_panel.cpp @@ -150,7 +150,7 @@ namespace Sapphire {"frequency_knob", { 15.240, 29.833}}, {"gain_knob", { 15.240, 89.333}}, {"mix_knob", { 15.240, 69.500}}, - {"mode_switch", { 15.240, 109.167}}, + {"mode_switch", { 15.240, 107.167}}, {"resonance_knob", { 15.240, 49.667}}, }}, { "hiss", { diff --git a/util/make_sapphire_svg.py b/util/make_sapphire_svg.py index 6075863..0b8e228 100755 --- a/util/make_sapphire_svg.py +++ b/util/make_sapphire_svg.py @@ -876,16 +876,19 @@ def GenerateGravyPanel(cdict:Dict[str,ControlLayer], name:str, target:Target) -> if target == Target.VcvRack: yRow = FencePost(22.0, 114.0, 7) dyText = 6.5 + dyTextSwitch = 6.5 dyTopArt = 9.5 + ySwitch = yRow.value(5) elif target == Target.Lite: yRow = FencePost(10.0, 129.0, 7) dyText = 8.5 + dyTextSwitch = 5.0 dyTopArt = 14.0 + ySwitch = yRow.value(5) - 2.0 else: raise TargetError(target) yInPort = yRow.value(0) - ySwitch = yRow.value(5) yOutPort = yRow.value(6) dyGrad = 6.0 @@ -923,7 +926,7 @@ def GenerateGravyPanel(cdict:Dict[str,ControlLayer], name:str, target:Target) -> controls.append(Component('audio_right_output', xmid + dxPortFromCenter, yOutPort)) # Text label for 3-way MODE switch (LP, BP, HP). - pl.append(CenteredControlTextPath(font, 'MODE', xmid, ySwitch - dyText)) + pl.append(CenteredControlTextPath(font, 'MODE', xmid, ySwitch - dyTextSwitch)) if target == Target.VcvRack: # Horizontal lines connecting stereo IN/OUT ports.