From c6121cb507f06d0cb70f0963276fa72c85d86f58 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 14 Nov 2020 07:32:51 +0800 Subject: [PATCH] bugfix --- kivyblocks/doubleface.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kivyblocks/doubleface.py b/kivyblocks/doubleface.py index 43ad45e..fdd803c 100644 --- a/kivyblocks/doubleface.py +++ b/kivyblocks/doubleface.py @@ -13,10 +13,10 @@ class DoubleFace(WidgetReady, BoxLayout): self.landscape_widget = None self.portrait_widget = None blocks = Factory.Blocks() - blocks.bind(on_built=self.landscape_built) + blocks.bind(on_built=self.landscape_build) blocks.widgetBuilt(landscape,ancestor=self) blocks = Factory.Blocks() - blocks.bind(on_built=self.portrait_built) + blocks.bind(on_built=self.portrait_build) blocks.widgetBuild(portrait,ancestor=self) self.on_size_task = None self.ready_task = None @@ -32,11 +32,11 @@ class DoubleFace(WidgetReady, BoxLayout): self.dispatch('on_ready') self._ready = True - def landscape_built(self,o,w): + def landscape_build(self,o,w): self.landscape_widget = w self.landscape_built = True - def partrait_built(self,o,w): + def partrait_build(self,o,w): self.portrait_widget = w self.portrait_built = True