Skip to content

Commit

Permalink
Fixed: expanded colors can insert background color
Browse files Browse the repository at this point in the history
  • Loading branch information
executre committed Dec 10, 2021
1 parent 4e091b3 commit faeda14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/semanticcolor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ void CodeColor::expandColors()
unordered_set<rgb, hashrgb, eqrgb> insertedColors;
#endif
insertedColors.insert( colors.begin(), colors.end() );
insertedColors.insert( ParaverConfig::getInstance()->getColorsTimelineBackground() );

unsigned int baseColor = 1;
for( unsigned int i = 0; i < iterations; ++i )
Expand Down

0 comments on commit faeda14

Please sign in to comment.