forked from mia/Aegisub
Adjust the appears of the vector clip control handles
Make them significantly smaller to cover less of the video and fiddle with the appearance to hopefully make them still visible enough.
This commit is contained in:
parent
0f731bcf13
commit
c02bdbcf9e
1 changed files with 18 additions and 1 deletions
|
@ -141,7 +141,24 @@ void VisualToolVectorClip::Draw() {
|
|||
}
|
||||
}
|
||||
|
||||
DrawAllFeatures();
|
||||
// Draw features
|
||||
for (auto& feature : features) {
|
||||
int color = 3;
|
||||
if (&feature == active_feature)
|
||||
color = 1;
|
||||
else if (sel_features.count(&feature))
|
||||
color = 2;
|
||||
gl.SetFillColour(colour[color], .6f);
|
||||
|
||||
if (feature.type == DRAG_SMALL_SQUARE) {
|
||||
gl.SetLineColour(colour[3], .5f, 1);
|
||||
gl.DrawRectangle(feature.pos - 3, feature.pos + 3);
|
||||
}
|
||||
else {
|
||||
gl.SetLineColour(colour[color], .5f, 1);
|
||||
gl.DrawCircle(feature.pos, 2.f);
|
||||
}
|
||||
}
|
||||
|
||||
// Draw preview of inserted line
|
||||
if (mode == 1 || mode == 2) {
|
||||
|
|
Loading…
Reference in a new issue