Skip to content

Commit 8860473

Browse files
committed
move device mode controls to alt keybindings
1 parent 7873abd commit 8860473

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ui/param/device.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@ func (d Device) Down() {
4949
d.Set(d.nodes[0].(music.Audible).Note().Device.Get() - 1)
5050
}
5151

52-
func (d Device) Left() {
53-
d.SetAlt(0)
54-
}
52+
func (d Device) Left() {}
5553

56-
func (d Device) Right() {
57-
d.SetAlt(0)
58-
}
54+
func (d Device) Right() {}
5955

6056
func (d Device) AltUp() {}
6157

6258
func (d Device) AltDown() {}
6359

64-
func (d Device) AltLeft() {}
60+
func (d Device) AltLeft() {
61+
d.SetAlt(0)
62+
}
6563

66-
func (d Device) AltRight() {}
64+
func (d Device) AltRight() {
65+
d.SetAlt(0)
66+
}
6767

6868
func (d Device) Set(value int) {
6969
if !d.nodes[0].(music.Audible).Note().Device.Enabled {

0 commit comments

Comments
 (0)