From 15723bf0883a69a7d00811a59d19f444e6106532 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 2 Dec 2020 20:15:51 +0800 Subject: [PATCH] bugfix --- kivyblocks/bgcolorbehavior.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivyblocks/bgcolorbehavior.py b/kivyblocks/bgcolorbehavior.py index fa2bbdb..1f22352 100644 --- a/kivyblocks/bgcolorbehavior.py +++ b/kivyblocks/bgcolorbehavior.py @@ -62,7 +62,7 @@ class BGColorBehavior(object): with self.canvas.before: Color(*self.bgcolor) if self.radius != []: - self.rect = RoundedRectangel(pos=self.pos, + self.rect = RoundedRectangle(pos=self.pos, size=self.size, radius=self.radius) else: