forked from mia/Aegisub
Don't automatically select all control handle in the vector clip tool
This was originally done because there was no easy way to select them all otherwise, but box selection of handles has been supported for a while now.
This commit is contained in:
parent
e48e8cef84
commit
6e40f4f920
2 changed files with 0 additions and 8 deletions
|
@ -445,11 +445,4 @@ void VisualToolVectorClip::DoRefresh() {
|
||||||
spline.DecodeFromAss(vect);
|
spline.DecodeFromAss(vect);
|
||||||
|
|
||||||
MakeFeatures();
|
MakeFeatures();
|
||||||
SelectAll();
|
|
||||||
}
|
|
||||||
|
|
||||||
void VisualToolVectorClip::SelectAll() {
|
|
||||||
sel_features.clear();
|
|
||||||
for (auto& feature : features)
|
|
||||||
sel_features.insert(&feature);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,6 @@ class VisualToolVectorClip final : public VisualTool<VisualToolVectorClipDraggab
|
||||||
void Save();
|
void Save();
|
||||||
void Commit(wxString message="") override;
|
void Commit(wxString message="") override;
|
||||||
|
|
||||||
void SelectAll();
|
|
||||||
void MakeFeature(size_t idx);
|
void MakeFeature(size_t idx);
|
||||||
void MakeFeatures();
|
void MakeFeatures();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue