quest: what a weird way of setting scales

This commit is contained in:
John Cote 2019-12-30 21:32:57 -05:00
parent 8029c7bb06
commit b478f2a1ba

View file

@ -44,7 +44,8 @@ class QuestChoiceGui(DirectFrame):
self.timer.setPos(-0.2, 0, -0.6) self.timer.setPos(-0.2, 0, -0.6)
elif len(quests) == 3 * 3: elif len(quests) == 3 * 3:
self['geom_scale'] = (1.85, 1, 0.9) self['geom_scale'] = (1.85, 1, 0.9)
list(map(lambda x: x.setScale(0.95), self.questChoicePosters)) for questChoicePoster in self.questChoicePosters:
questChoicePoster.setScale(0.95)
self.questChoicePosters[0].setPos(0, 0, -0.4) self.questChoicePosters[0].setPos(0, 0, -0.4)
self.questChoicePosters[1].setPos(0, 0, 0.125) self.questChoicePosters[1].setPos(0, 0, 0.125)
self.questChoicePosters[2].setPos(0, 0, 0.65) self.questChoicePosters[2].setPos(0, 0, 0.65)