Get audio marker drag sensitivity from configuration
Originally committed to SVN as r6180.
This commit is contained in:
parent
0e17edc561
commit
cdf8e31e1a
2 changed files with 2 additions and 2 deletions
|
@ -1148,7 +1148,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event)
|
|||
|
||||
AudioTimingController *timing = controller->GetTimingController();
|
||||
if (!timing) return;
|
||||
int drag_sensitivity = pixel_samples*3; /// @todo Make this depend on configuration
|
||||
int drag_sensitivity = pixel_samples * OPT_GET("Audio/Start Drag Sensitivity")->GetInt();
|
||||
|
||||
// Not scrollbar, not timeline, no button action
|
||||
if (event.Moving())
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
"Enable" : false
|
||||
},
|
||||
"Spectrum" : true,
|
||||
"Start Drag Sensitivity" : 2,
|
||||
"Start Drag Sensitivity" : 3,
|
||||
"Wheel Default to Zoom" : false
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue