From 5001f261128c759030c2ca7fd9ac87dd9bc7a45d Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 21 Jun 2021 16:39:32 +0800 Subject: [PATCH] bugfix --- kivyblocks/widget_css.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kivyblocks/widget_css.py b/kivyblocks/widget_css.py index 5a6083b..2f33f87 100644 --- a/kivyblocks/widget_css.py +++ b/kivyblocks/widget_css.py @@ -20,7 +20,7 @@ class WidgetCSS(object): bg_func = Rectangle def on_canvas(self, o, s): - Logger.info('WidgetCSS:on_canvas():%s',self.__class__.__name__) + #Logger.info('WidgetCSS:on_canvas():%s',self.__class__.__name__) self.set_background_color() def on_size(self, o, s): @@ -91,8 +91,8 @@ class WidgetCSS(object): self.set_child_fgcolor(c) def on_fgcolor(self, o, c): - Logger.info('WidgetCSS:on_fgcolor:%s fgcolor=%s', self.__class__.__name__, - self.fgcolor) + #Logger.info('WidgetCSS:on_fgcolor:%s fgcolor=%s', self.__class__.__name__, + # self.fgcolor) if not self.fgcolor: return if isinstance(self, TextInput): @@ -105,8 +105,8 @@ class WidgetCSS(object): return def on_bgcolor(self, o, c): - Logger.info('WidgetCSS:on_bgcolor:%s bgcolor=%s', self.__class__.__name__, - self.bgcolor) + #Logger.info('WidgetCSS:on_bgcolor:%s bgcolor=%s', self.__class__.__name__, + # self.bgcolor) if not self.bgcolor: return if isinstance(self, TextInput): @@ -126,8 +126,8 @@ class WidgetCSS(object): def set_background_color(self, *args): if not self.bgcolor: - Logger.info('WidgetCSS: set_bg_color(), bgcolor is null, (%s)', - self.__class__.__name__) + #Logger.info('WidgetCSS: set_bg_color(), bgcolor is null, (%s)', + # self.__class__.__name__) return if not self.canvas: Logger.info('WidgetCSS: set_bg_color(), canvas is null(%s)',