This commit is contained in:
yumoqing 2020-09-19 12:00:25 +08:00
parent 28ca60b807
commit 60f5b2c5ee

View File

@ -68,6 +68,7 @@ class BGColorBehavior(object):
self.color = self.fgcolor = self.selected_fgcolor
self.on_bgcolor()
else:
print('BGColorBehavior():selected(),useAcestorColor()')
self.useAcestorColor(selected=True)
def unselected(self):
@ -76,4 +77,5 @@ class BGColorBehavior(object):
self.color = self.fgcolor = self.normal_fgcolor
self.on_bgcolor()
else:
print('BGColorBehavior():unselected(),useAcestorColor()')
self.useAcestorColor(selected=False)