Skip to content

Commit c4dc06f

Browse files
authored
Optimal REAPER config: Disable snap to visible grid in the MIDI Editor so movement by grid is not dependent on the horizontal zoom setting. (issue #1250, PR #1252)
1 parent 1dc7b10 commit c4dc06f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/config.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ struct ReaperSetting {
219219
};
220220
// If any settings are added, changed or removed below, this number should be
221221
// increased.
222-
constexpr int REAPER_OPTIMAL_CONFIG_VERSION = 3;
222+
constexpr int REAPER_OPTIMAL_CONFIG_VERSION = 4;
223223
const char KEY_REAPER_OPTIMAL_CONFIG_VERSION[] = "reaperOptimalConfigVersion";
224224

225225
#ifdef _WIN32
@@ -258,6 +258,7 @@ INT_PTR CALLBACK configReaperOptimal_dialogProc(HWND dialog, UINT msg,
258258
<< nl << translate_ctxt("optimal REAPER configuration", "5. Show text labels to indicate parallel, offline and bypassed in the FX list.")
259259
<< nl << translate_ctxt("optimal REAPER configuration", "6. Use a standard, accessible edit control for the video code editor.")
260260
<< nl << translate_ctxt("optimal REAPER configuration", "7. Hide type prefixes in the FX browser so that browsing through FX is more efficient.")
261+
<< nl << translate_ctxt("optimal REAPER configuration", "8. Disable snap to visible grid in the MIDI Editor so movement by grid is not dependent on the horizontal zoom setting.")
261262
<< nl << translate_ctxt("optimal REAPER configuration", "Note: if now isn't a good time to tweak REAPER, you can apply these adjustments later by going to the Extensions menu in the menu bar and then the OSARA submenu.")
262263
<< nl;
263264
HWND text = GetDlgItem(dialog, ID_CFGOPT_TEXT);
@@ -309,6 +310,8 @@ void cmdConfigReaperOptimal(Command* command) {
309310
{"REAPER", "video_colorspace", 1 << 11, 789507},
310311
// Disable FX browser -> Options menu -> Show in FX list -> Plug-in type prefixes
311312
{"REAPER-fxadd", "uiflags", 1 << 24, 16777216},
313+
// Disable MIDI Editor -> Options -> Snap settings -> Snap to visible grid
314+
{"midiedit", "snapflags", 1 << 5, 32},
312315
};
313316
for (const auto& setting: settings) {
314317
int newVal = setting.value;

0 commit comments

Comments
 (0)