Update screen_utils.py

This commit is contained in:
chrys87 2016-11-07 16:42:20 +01:00 committed by GitHub
parent f603448496
commit ecb261558f

View File

@ -40,7 +40,7 @@ def trackHighlights(oldAttr, newAttr, text, lenght):
background.append(bgStat[0][0])
# if there is a third color add a secondary background (for dialogs for example)
if len(bgStat) > 2:
if bgStat[1][1] > 20:
if bgStat[1][1] > 40:
background.append(bgStat[1][0])
except Exception as e:
background.append(chr(7))