mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 18:30:21 +00:00
Fixes Spectrum machine selection.
This commit is contained in:
parent
c0abdf1b86
commit
a3cd953415
@ -64,7 +64,7 @@ Gw
|
|||||||
<tabViewItems>
|
<tabViewItems>
|
||||||
<tabViewItem label="Apple II" identifier="appleii" id="P59-QG-LOa">
|
<tabViewItem label="Apple II" identifier="appleii" id="P59-QG-LOa">
|
||||||
<view key="view" id="dHz-Yv-GNq">
|
<view key="view" id="dHz-Yv-GNq">
|
||||||
<rect key="frame" x="10" y="33" width="764" height="95"/>
|
<rect key="frame" x="10" y="33" width="835" height="95"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="V5Z-dX-Ns4">
|
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="V5Z-dX-Ns4">
|
||||||
@ -464,12 +464,12 @@ Gw
|
|||||||
<subviews>
|
<subviews>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gFZ-d4-WFv">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gFZ-d4-WFv">
|
||||||
<rect key="frame" x="63" y="66" width="62" height="25"/>
|
<rect key="frame" x="63" y="66" width="62" height="25"/>
|
||||||
<popUpButtonCell key="cell" type="push" title="+2a" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" tag="21" imageScaling="axesIndependently" inset="2" selectedItem="Fo7-NL-Kv5" id="tYs-sA-oek">
|
<popUpButtonCell key="cell" type="push" title="+2a" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="21" imageScaling="axesIndependently" inset="2" selectedItem="Fo7-NL-Kv5" id="tYs-sA-oek">
|
||||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="menu"/>
|
<font key="font" metaFont="menu"/>
|
||||||
<menu key="menu" id="8lt-dk-zPr">
|
<menu key="menu" id="8lt-dk-zPr">
|
||||||
<items>
|
<items>
|
||||||
<menuItem title="+2a" tag="21" id="Fo7-NL-Kv5"/>
|
<menuItem title="+2a" state="on" tag="21" id="Fo7-NL-Kv5"/>
|
||||||
<menuItem title="+3" tag="3" id="jwx-fZ-vXp"/>
|
<menuItem title="+3" tag="3" id="jwx-fZ-vXp"/>
|
||||||
</items>
|
</items>
|
||||||
</menu>
|
</menu>
|
||||||
|
@ -264,7 +264,7 @@ class MachinePicker: NSObject {
|
|||||||
|
|
||||||
case "spectrum":
|
case "spectrum":
|
||||||
var model: CSMachineSpectrumModel = .plus2a
|
var model: CSMachineSpectrumModel = .plus2a
|
||||||
switch oricModelTypeButton.selectedItem!.tag {
|
switch spectrumModelTypeButton.selectedItem!.tag {
|
||||||
case 21: model = .plus2a
|
case 21: model = .plus2a
|
||||||
case 3: model = .plus3
|
case 3: model = .plus3
|
||||||
default: break
|
default: break
|
||||||
|
Loading…
Reference in New Issue
Block a user