bugfix
This commit is contained in:
parent
afe3d3a560
commit
3a20081f39
@ -49,11 +49,11 @@ class DoubleFace(WidgetReady, BoxLayout):
|
|||||||
return
|
return
|
||||||
if self.width >= self.height:
|
if self.width >= self.height:
|
||||||
if not self.landscape_widget in self.children:
|
if not self.landscape_widget in self.children:
|
||||||
self.clear_widget()
|
self.clear_widgets()
|
||||||
self.add_widget(self.landscape_widget)
|
self.add_widget(self.landscape_widget)
|
||||||
else:
|
else:
|
||||||
if not self.portrait_widget in self.children:
|
if not self.portrait_widget in self.children:
|
||||||
self.clear_widget()
|
self.clear_widgets()
|
||||||
self.add_widget(self.portrait_widget)
|
self.add_widget(self.portrait_widget)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user