Skip to content

Commit 4f5eb12

Browse files
Merge pull request #26 from Mauro-Sturaro/fix/missing_switches
Fixed Switch UI: only odd-numbered switches were displayed.
2 parents b676fc6 + 407239d commit 4f5eb12

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

ASCOM.Alpaca.Simulators/Pages/SwitchControl.razor

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
<th><input type="range" min="@Device.MinSwitchValue(i)" max="@Device.MaxSwitchValue(i)" step="@Device.SwitchStep(i)" value="@Device.GetSwitchValue(i)" @onchange="@((ChangeEventArgs __e) => SetValue(index, Convert.ToDouble(__e.Value)))" style="min-width:40ch"></th>
3939
<th>@Device.GetSwitchValue(i)</th>
4040
</tr>
41-
42-
i++;
4341
}
4442
}
4543
</table>

0 commit comments

Comments
 (0)