Remove unneeded width & height

This commit is contained in:
Nutbuster 2022-11-07 12:08:21 +11:00
parent 2587b4724f
commit 7711c6b414
1 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ init python:
SMALL_SPACING = (LARGE_SPACING[0]//2, LARGE_SPACING[1]//2)
class LangButton(renpy.Displayable):
def __init__(self, v, w, h, child, **kwargs):
def __init__(self, v, child, **kwargs):
super(LangCave.LangButton, self).__init__(**kwargs)
#self.childs = []
@ -120,7 +120,7 @@ init python:
# = Solid((22,22,22), xysize=size)
_button = Fixed(tfi, xysize=size)
lang = Language(llb['value'])
button = LangCave.LangButton(lang, *size, _button)
button = LangCave.LangButton(lang, _button)
LangCave.on_disable_interactable = True
@ -157,7 +157,7 @@ init python:
#print(dir(penultimate))
lang = Language(llb['value'])
button = LangCave.LangButton(lang, *size, penultimate)
button = LangCave.LangButton(lang, penultimate)
if (_preferences.language == llb['value']):
button.selected = True