From 60f5b2c5eea0af6c36f2952f9d31a054b4289a7f Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 19 Sep 2020 12:00:25 +0800 Subject: [PATCH] bugfix --- kivyblocks/bgcolorbehavior.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kivyblocks/bgcolorbehavior.py b/kivyblocks/bgcolorbehavior.py index d83ec2d..5fdda57 100644 --- a/kivyblocks/bgcolorbehavior.py +++ b/kivyblocks/bgcolorbehavior.py @@ -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)