mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-02 06:46:34 +01:00
Remove unneeded width & height
This commit is contained in:
parent
2587b4724f
commit
7711c6b414
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue