eric6/Plugins/VcsPlugins/vcsGit/GitLogBrowserDialog.py

changeset 7489
6543bcd150fd
parent 7455
9d0852f0bb2c
child 7493
1696e91a5393
equal deleted inserted replaced
7488:36ec7469f492 7489:6543bcd150fd
478 Private method to get the (rotating) name of the color given an index. 478 Private method to get the (rotating) name of the color given an index.
479 479
480 @param n color index 480 @param n color index
481 @type int 481 @type int
482 @return color name 482 @return color name
483 @type str 483 @rtype str
484 """ 484 """
485 if self.__logTreeHasDarkBackground: 485 if self.__logTreeHasDarkBackground:
486 return LIGHTCOLORS[n % len(LIGHTCOLORS)] 486 return LIGHTCOLORS[n % len(LIGHTCOLORS)]
487 else: 487 else:
488 return COLORS[n % len(COLORS)] 488 return COLORS[n % len(COLORS)]

eric ide

mercurial