@@ -69,48 +69,54 @@ export function MacSettings({
6969
7070 return (
7171 < Dialog title = "Settings" onDone = { onDone } >
72- < label >
73- < Checkbox
74- checked = { emulatorSettings . swapControlAndCommand }
75- onChange = { ( ) =>
76- setEmulatorSettings ( {
77- ...emulatorSettings ,
78- swapControlAndCommand :
79- ! emulatorSettings . swapControlAndCommand ,
80- } )
81- }
82- />
83- Swap Control and Command Keys
72+ < div className = "MacSettings-Row" >
73+ < div className = "MacSettings-Row-Label" > Input:</ div >
74+ < label >
75+ < Checkbox
76+ checked = { emulatorSettings . swapControlAndCommand }
77+ onChange = { ( ) =>
78+ setEmulatorSettings ( {
79+ ...emulatorSettings ,
80+ swapControlAndCommand :
81+ ! emulatorSettings . swapControlAndCommand ,
82+ } )
83+ }
84+ />
85+ Swap Control and Command Keys
86+ </ label >
8487 < div className = "Dialog-Description" >
8588 Makes it easier to use shortcuts like Command-W, Command-Q
8689 or Command-Shift-3 (which are otherwise handled by the host
8790 browser or OS).
8891 </ div >
89- </ label >
92+ </ div >
9093 { emulatorSupportsMouseDeltas ( emulatorType ) &&
9194 ! emulatorSettings . trackpadMode && (
92- < label >
93- < Checkbox
94- checked = { emulatorSettings . useMouseDeltas }
95- onChange = { ( ) =>
96- setEmulatorSettings ( {
97- ...emulatorSettings ,
98- useMouseDeltas :
99- ! emulatorSettings . useMouseDeltas ,
100- } )
101- }
102- />
103- Use relative mouse movements
95+ < div className = "MacSettings-Row" >
96+ < div className = "MacSettings-Row-Label" />
97+ < label >
98+ < Checkbox
99+ checked = { emulatorSettings . useMouseDeltas }
100+ onChange = { ( ) =>
101+ setEmulatorSettings ( {
102+ ...emulatorSettings ,
103+ useMouseDeltas :
104+ ! emulatorSettings . useMouseDeltas ,
105+ } )
106+ }
107+ />
108+ Use relative mouse movements
109+ </ label >
104110 < div className = "Dialog-Description" >
105111 Send relative mouse movements to the emulator
106112 instead of absolute positions. This can help with
107113 compatibility of games such as Apeiron.
108114 </ div >
109- </ label >
115+ </ div >
110116 ) }
111117 { emulatorSupportsSpeedSetting ( emulatorType ) && (
112- < label >
113- Speed:
118+ < div className = "MacSettings-Row" >
119+ < div className = "MacSettings-Row-Label" > Speed:</ div >
114120 < Select
115121 value = { emulatorSettings . speed }
116122 onChange = { event =>
@@ -131,10 +137,9 @@ export function MacSettings({
131137 ) }
132138 </ Select >
133139 < div className = "Dialog-Description" >
134- Very old software may be timing dependent and thus only
135- work at 1x speeds.
140+ Very old software may be timing dependent.
136141 </ div >
137- </ label >
142+ </ div >
138143 ) }
139144 < div className = "MacSettings-Row" >
140145 < div className = "MacSettings-Row-Label" > Scaling:</ div >
0 commit comments