Skip to content

Commit

Permalink
remove add_widget override
Browse files Browse the repository at this point in the history
whoops
  • Loading branch information
Silvris committed Sep 19, 2024
1 parent 896a0bb commit 6b5f2c0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kvui.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,17 +523,14 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, MDDivider(size_hint_y=None, height=dp(4)), self.carousel, **kwargs)
self.size_hint_y = 1

def add_widget(self, widget, *args, **kwargs):
super().add_widget(widget, args, kwargs)
self.on_size(self, self.size)

def remove_tab(self, tab, content=None):
if content is None:
content = tab.content
self.ids.container.remove_widget(tab)
self.carousel.remove_widget(content)
self.on_size(self, self.size)


class GameManager(MDApp):
logging_pairs = [
("Client", "Archipelago"),
Expand Down

0 comments on commit 6b5f2c0

Please sign in to comment.