From fe65f778b1344cc64ed8a2372e789a5c7904360f Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 4 Jun 2010 03:07:46 +0000 Subject: [PATCH] Don't set the line color for every visual feature as it's always the same Originally committed to SVN as r4427. --- aegisub/src/visual_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/visual_tool.cpp b/aegisub/src/visual_tool.cpp index 5b5a0a2c7..63a65e710 100644 --- a/aegisub/src/visual_tool.cpp +++ b/aegisub/src/visual_tool.cpp @@ -301,6 +301,7 @@ void VisualTool::DrawAllFeatures() { dragListOK = true; } + SetLineColour(colour[0],1.0f,2); for (unsigned i = 0; i < features.size(); ++i) { int fill; if (&features[i] == curFeature) @@ -310,7 +311,6 @@ void VisualTool::DrawAllFeatures() { else fill = 1; SetFillColour(colour[fill],0.6f); - SetLineColour(colour[0],1.0f,2); features[i].Draw(*this); } }