mirror of https://github.com/odrling/Aegisub
Clear the clicked marker on right click
This commit is contained in:
parent
b7b2ea2d61
commit
fff59982f4
|
@ -671,6 +671,7 @@ std::vector<AudioMarker*> AudioTimingControllerDialogue::OnLeftClick(int ms, boo
|
|||
|
||||
std::vector<AudioMarker*> AudioTimingControllerDialogue::OnRightClick(int ms, bool, int sensitivity, int snap_range)
|
||||
{
|
||||
clicked_marker = nullptr;
|
||||
std::vector<AudioMarker*> ret = GetRightMarkers();
|
||||
SetMarkers(ret, SnapPosition(ms, snap_range, ret));
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue