This commit is contained in:
yumoqing 2021-07-07 12:46:05 +08:00
parent 0e84605796
commit feb6df436f

View File

@ -41,7 +41,7 @@ class TwoSides(WidgetReady, BoxLayout):
def set_switch_button_pos(self):
h = self.switch_button.height
self.switch_button.pos = (4, Window.height - h - 4)
self.switch_button.pos = (4, self.height - h - 4)
def show_switch_image(self, o, v=None):
def show(*args):