mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Fix a typo with parenthesis in journal
This commit is contained in:
parent
7f839594ea
commit
4ecc05d4cd
1 changed files with 1 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ class Niko(QWidget):
|
||||||
self.setMaximumSize(self.screen_width, self.screen_height)
|
self.setMaximumSize(self.screen_width, self.screen_height)
|
||||||
self.setGeometry(0, 0, self.screen_width, self.screen_height)
|
self.setGeometry(0, 0, self.screen_width, self.screen_height)
|
||||||
|
|
||||||
self.frames = [QPixmap(os.path.join(base_path, 'images', 'niko{}.png'.format(n)) for n in range(1,4))]
|
self.frames = [QPixmap(os.path.join(base_path, 'images', 'niko{}.png'.format(n))) for n in range(1,4)]
|
||||||
|
|
||||||
self.setBackgroundRole(QPalette.Base)
|
self.setBackgroundRole(QPalette.Base)
|
||||||
self.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
|
self.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
|
||||||
|
|
@ -106,7 +106,6 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
niko = Niko(start_x = x, start_y = y, screen_width = screensize.width(), screen_height = screensize.height())
|
niko = Niko(start_x = x, start_y = y, screen_width = screensize.width(), screen_height = screensize.height())
|
||||||
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# Author's Journal mode
|
# Author's Journal mode
|
||||||
journal = Journal()
|
journal = Journal()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue