mirror of https://github.com/odrling/Aegisub
Increase the hit area for removing syllable splits a little
This commit is contained in:
parent
d0a9f3f7cd
commit
5cdcd3dcb3
|
@ -316,8 +316,8 @@ void AudioKaraoke::OnMouse(wxMouseEvent &event) {
|
|||
// If the click is sufficiently close to a line of a syllable split,
|
||||
// remove that split rather than adding a new one
|
||||
click_will_remove_split =
|
||||
(syl > 0 && shifted_pos <= syl_lines[syl - 1] + 2) ||
|
||||
(syl < (int)syl_lines.size() && shifted_pos >= syl_lines[syl] - 2);
|
||||
(syl > 0 && shifted_pos <= syl_lines[syl - 1] + 3) ||
|
||||
(syl < (int)syl_lines.size() && shifted_pos >= syl_lines[syl] - 3);
|
||||
|
||||
if (!event.LeftDown()) {
|
||||
// Erase the old line and draw the new one
|
||||
|
|
Loading…
Reference in New Issue