mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
REALLY fixed snapping.
Originally committed to SVN as r729.
This commit is contained in:
parent
71828a2df5
commit
064db890eb
@ -1561,9 +1561,10 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event) {
|
||||
selStart = selEnd;
|
||||
selEnd = temp;
|
||||
hold = 2;
|
||||
curEndMS = GetMSAtX(selEnd);
|
||||
curEndMS = snapped;
|
||||
snapped = GetMSAtX(selStart);
|
||||
}
|
||||
curStartMS = GetMSAtX(selStart);
|
||||
curStartMS = snapped;
|
||||
updated = true;
|
||||
diagUpdated = true;
|
||||
}
|
||||
@ -1581,9 +1582,10 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event) {
|
||||
selStart = selEnd;
|
||||
selEnd = temp;
|
||||
hold = 1;
|
||||
curStartMS = GetMSAtX(selStart);
|
||||
curStartMS = snapped;
|
||||
snapped = GetMSAtX(selEnd);
|
||||
}
|
||||
curEndMS = GetMSAtX(selEnd);
|
||||
curEndMS = snapped;
|
||||
updated = true;
|
||||
diagUpdated = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user