diff --git a/aegisub/audio_display.cpp b/aegisub/audio_display.cpp index 8c76da0f6..c719b6c41 100644 --- a/aegisub/audio_display.cpp +++ b/aegisub/audio_display.cpp @@ -1496,7 +1496,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event) { // Line timing mode if (!karTime) { // Grab start - if (abs64 (x - selStart) < 6) { + if (abs64 (x - selStart) < 6 && Options.AsBool(_T("Disable Dragging Times"))==false) { wxCursor cursor(wxCURSOR_SIZEWE); SetCursor(cursor); defCursor = false; @@ -1507,7 +1507,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event) { } // Grab end - else if (abs64 (x - selEnd) < 6) { + else if (abs64 (x - selEnd) < 6 && Options.AsBool(_T("Disable Dragging Times"))==false) { wxCursor cursor(wxCURSOR_SIZEWE); SetCursor(cursor); defCursor = false; diff --git a/aegisub/options.cpp b/aegisub/options.cpp index 2d09e4221..7266dad3a 100644 --- a/aegisub/options.cpp +++ b/aegisub/options.cpp @@ -175,6 +175,7 @@ void OptionsManager::LoadDefaults(bool onlyDefaults) { SetInt(_T("Audio lead out"),300); SetModificationType(MOD_AUDIO); SetInt(_T("Audio Inactive Lines Display Mode"),1); + SetBool(_T("Disable Dragging Times"), false); // Audio Advanced SetModificationType(MOD_AUDIO_RELOAD);