From 9cb2b916ebb973af756611f01834063a246f4d83 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 21 Jun 2021 20:27:44 +0800 Subject: [PATCH] bugfix --- kivyblocks/widget_css.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kivyblocks/widget_css.py b/kivyblocks/widget_css.py index 2f33f87..9ff107c 100644 --- a/kivyblocks/widget_css.py +++ b/kivyblocks/widget_css.py @@ -56,7 +56,7 @@ class WidgetCSS(object): app = App.get_running_app() for css_name in css_str.split(' '): css.update(app.get_css(css_name)) - Logger.info('WidgetCSS:set_css():%s',css.keys()) + # Logger.info('WidgetCSS:set_css():%s',css.keys()) for k,v in css.items(): setattr(self,k,v) @@ -130,8 +130,8 @@ class WidgetCSS(object): # self.__class__.__name__) return if not self.canvas: - Logger.info('WidgetCSS: set_bg_color(), canvas is null(%s)', - self.__class__.__name__) + #Logger.info('WidgetCSS: set_bg_color(), canvas is null(%s)', + # self.__class__.__name__) return with self.canvas.before: