Dependencies
- Modified rules.cpp for color.blocked so that it correctly determines the need for coloration.
This commit is contained in:
@@ -81,7 +81,7 @@ void initializeColorRules ()
|
|||||||
static void colorizeBlocked (Task& task, const std::string& rule, Color& c)
|
static void colorizeBlocked (Task& task, const std::string& rule, Color& c)
|
||||||
{
|
{
|
||||||
if (gsColor[rule].nontrivial ())
|
if (gsColor[rule].nontrivial ())
|
||||||
if (task.get ("depends") != "")
|
if (dependencyIsBlocked (task))
|
||||||
c.blend (gsColor[rule]);
|
c.blend (gsColor[rule]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user