create sprite if enter hit while editing sprite size
This commit is contained in:
parent
19fe12a12a
commit
10fc63f100
|
@ -724,9 +724,9 @@ class LobbyBoard(LobbyI):
|
|||
def CreateMiCmds(self):
|
||||
miTypeinBoard, miBtnNewBoard = self.MiTypein_MiButton("New Board", "BoardName", self.NewBoard)
|
||||
miTypeinSpr, miBtnNewSpr = self.MiTypein_MiButton("New Sprite", "SpriteName", self.NewSprite)
|
||||
miTypeinW = MiTypein(None, "w")
|
||||
miTypeinW = MiTypein(self.NewSprite, "w")
|
||||
miTypeinW.SetValue("1")
|
||||
miTypeinH = MiTypein(None, "h")
|
||||
miTypeinH = MiTypein(self.NewSprite, "h")
|
||||
miTypeinH.SetValue("1")
|
||||
self.miDimensions = MiMenuHoriz([MiStatic("W:"), miTypeinW, MiStatic("H:"), miTypeinH])
|
||||
|
||||
|
|
Loading…
Reference in a new issue