Skip to content

Commit 962ed7c

Browse files
committed
add option to enable/disable hover layer note vol/pan preview in Preferences window
1 parent b6699c4 commit 962ed7c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/draw_window_preferences/draw_window_preferences.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ function draw_window_preferences() {
532532
if (draw_radiobox(x1 + 40, y1 + 110 + (theme = 3) * 22, mousewheel = 1, "Use mouse wheel to change instrument", "Use the mouse wheel to toggle between\nthe available instruments.")) mousewheel = 1
533533
if (draw_radiobox(x1 + 40, y1 + 130 + (theme = 3) * 22, mousewheel = 2, "Use mouse wheel to change key", "Use the mouse wheel to toggle\nbetween the keys on the piano.")) mousewheel = 2
534534
if (draw_checkbox(x1 + 40, y1 + 158 + (theme = 3) * 22, changepitch, "Change note properties when scrolling over notes", "Whether scrolling when hovering over a note should change its key,\nvelocity, panning or pitch, according to the currently selected edit mode.")) changepitch=!changepitch
535-
if (draw_checkbox(x1 + 40, y1 + 186 + (theme = 3) * 22, hoverlayer_scrollnote_preview, "Volume/Panning preview relative to current hovered layer", "Whether the volume/panning preview should be relative\nto the layer you are hovering over.")) hoverlayer_scrollnote_preview=!hoverlayer_scrollnote_preview
535+
if (draw_checkbox(x1 + 40, y1 + 186 + (theme = 3) * 22, layerhov_vppreview , "Volume/Panning preview relative to current hovered layer", "Whether the volume/panning preview should be relative\nto the layer you are hovering over.")) layerhov_vppreview =!layerhov_vppreview
536536
//draw_text_dynamic(x1 + 40, y1 + 178, "Tip: Hold Shift while scrolling over a note to change a whole octave,\nor fine-tune its velocity, panning or pitch.")
537537
if (theme = 3) draw_theme_font(font_info_med)
538538
draw_areaheader(x1 + 22, y1 + 220 + (theme = 3) * 22, 456, 105, "Piano")
@@ -550,7 +550,7 @@ function draw_window_preferences() {
550550
if (draw_radiobox(x1 + 40, y1 + 110 + (theme = 3) * 22, mousewheel = 1, "使用鼠标滚轮改变音色", "使用鼠标滚轮切换可用音色。")) mousewheel = 1
551551
if (draw_radiobox(x1 + 40, y1 + 130 + (theme = 3) * 22, mousewheel = 2, "使用鼠标滚轮改变音调", "使用鼠标滚轮改变目前使用的音调。")) mousewheel = 2
552552
if (draw_checkbox(x1 + 40, y1 + 158 + (theme = 3) * 22, changepitch, "当在音符上使用鼠标滚轮改变音符属性", "在音符上使用鼠标滚轮时是否根据目前模式改变其音调、音量、声道或音高。")) changepitch=!changepitch
553-
if (draw_checkbox(x1 + 40, y1 + 186 + (theme = 3) * 22, hoverlayer_scrollnote_preview, "相对于当前悬停图层的音量/平移预览", "音量/平移预览是否应相对于鼠标悬停的图层。")) hoverlayer_scrollnote_preview=!hoverlayer_scrollnote_preview
553+
if (draw_checkbox(x1 + 40, y1 + 186 + (theme = 3) * 22, layerhov_vppreview , "相对于当前悬停图层的音量/平移预览", "音量/平移预览是否应相对于鼠标悬停的图层。")) layerhov_vppreview =!layerhov_vppreview
554554
//draw_text_dynamic(x1 + 40, y1 + 178, "Tip: Hold Shift while scrolling over a note to change a whole octave,\nor fine-tune its velocity, panning or pitch.")
555555
if (theme = 3) draw_theme_font(font_info_med)
556556
draw_areaheader(x1 + 22, y1 + 220 + (theme = 3) * 22, 456, 105, "琴键")

0 commit comments

Comments
 (0)