diff --git a/src/wireviz.py b/src/wireviz.py index f328192..5557ddd 100755 --- a/src/wireviz.py +++ b/src/wireviz.py @@ -144,7 +144,7 @@ class Harness: html = html + '' bgcolors = ('#000000:' + wv_colors.translate_color(x, 'hex') +':#000000').split(':') html = html + ''.format(colspan=len(p), port ='w{}'.format(i), height = '{}'.format(2*len(bgcolors))) - for j, bgcolor in enumerate(bgcolors): + for j, bgcolor in enumerate(bgcolors[::-1]): # Reverse to match the curved wires when more than 2 colors html = html + ''.format(colspan=len(p), bgcolor=bgcolor if bgcolor != '' else '#ffffff') html = html + '
'