This commit is contained in:
yumoqing 2021-07-07 12:51:56 +08:00
parent feb6df436f
commit 6372d86065

View File

@ -100,6 +100,8 @@ class TwoSides(WidgetReady, BoxLayout):
def on_size(self,*args): def on_size(self,*args):
if self.width >= self.height: if self.width >= self.height:
if self.switch_button:
self.set_switch_button_pos()
print('twosides.py:W-Window.rotation=', print('twosides.py:W-Window.rotation=',
self.app.get_rotation(), self.app.get_rotation(),
Window.size) Window.size)