create sprite if enter hit while editing sprite size

This commit is contained in:
Jeremy Penner 2011-10-05 17:55:30 -04:00
parent 19fe12a12a
commit 10fc63f100

View file

@ -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])