forked from mia/Aegisub
Don't select the start handle when a line is selected due to a click on the end handle in the drag visual tool
Originally committed to SVN as r6550.
This commit is contained in:
parent
229daa9874
commit
eea914fa48
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ void VisualToolDrag::OnSelectedSetChanged(const Selection &added, const Selectio
|
||||||
sel_features.erase(it);
|
sel_features.erase(it);
|
||||||
any_changed = true;
|
any_changed = true;
|
||||||
}
|
}
|
||||||
else if (added.count(it->line) && it->type == DRAG_START) {
|
else if (added.count(it->line) && it->type == DRAG_START && !sel_features.count(it->parent)) {
|
||||||
sel_features.insert(it);
|
sel_features.insert(it);
|
||||||
any_changed = true;
|
any_changed = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue