Skip to content

Commit 3cf1566

Browse files
committed
Fix ins shortcut range
1 parent d0bdb84 commit 3cf1566

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/control_draw/control_draw.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ function control_draw() {
17631763
else{
17641764
if(a < 9){
17651765
str += check(current_song.instrument = ins) + get_hotkey("ins_ctrl") + string((a + 1) % 10) + "$" + clean(ins.name) + "|"
1766-
}else if (a < 18){
1766+
}else if (a < 19){
17671767
str += check(current_song.instrument = ins) + get_hotkey("ins_ctrl_shift") + string((a + 2) % 10) + "$" + clean(ins.name) + "|"
17681768
} else {
17691769
str += check(current_song.instrument = ins) + clean(ins.name) + "|"
@@ -1860,7 +1860,7 @@ function control_draw() {
18601860
else{
18611861
if(a < 9){
18621862
str += check(current_song.instrument = ins) + get_hotkey("ins_ctrl") + string((a + 1) % 10) + "$" + clean(ins.name) + "|"
1863-
}else if (a < 18){
1863+
}else if (a < 19){
18641864
str += check(current_song.instrument = ins) + get_hotkey("ins_ctrl_shift") + string((a + 1) % 10) + "$" + clean(ins.name) + "|"
18651865
} else {
18661866
str += check(current_song.instrument = ins) + clean(ins.name) + "|"

scripts/menu_macos_init/menu_macos_init.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function menu_macos_init(){
1515
else{
1616
if(a < 9){
1717
str += check(current_song.instrument = ins) + get_hotkey_menubar("ins_ctrl") + string((a + 1) % 10) + "$" + clean(ins.name) + "|"
18-
}else if (a < 18){
18+
}else if (a < 19){
1919
str += check(current_song.instrument = ins) + get_hotkey_menubar("ins_ctrl_shift") + string((a + 2) % 10) + "$" + clean(ins.name) + "|"
2020
} else {
2121
str += check(current_song.instrument = ins) + clean(ins.name) + "|"
@@ -122,7 +122,7 @@ function menu_macos_init(){
122122
else{
123123
if(a < 9){
124124
str += check(current_song.instrument = ins) + get_hotkey_menubar("ins_ctrl") + string((a + 1) % 10) + "$" + clean(ins.name) + "|"
125-
}else if (a < 18){
125+
}else if (a < 19){
126126
str += check(current_song.instrument = ins) + get_hotkey_menubar("ins_ctrl_shift") + string((a + 1) % 10) + "$" + clean(ins.name) + "|"
127127
} else {
128128
str += check(current_song.instrument = ins) + clean(ins.name) + "|"

0 commit comments

Comments
 (0)