projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pygame_wiitest.py en état de marche (à l'arrache tout de même).
[minwii.git]
/
src
/
app
/
widgets
/
playingscreen.py
diff --git
a/src/app/widgets/playingscreen.py
b/src/app/widgets/playingscreen.py
index
2fad9c2
..
4638267
100755
(executable)
--- a/
src/app/widgets/playingscreen.py
+++ b/
src/app/widgets/playingscreen.py
@@
-57,8
+57,8
@@
class _PlayingScreenBase(pygame.sprite.LayeredDirty, EventHandlerMixin) :
screen = pygame.display.get_surface()
# taille de la zone d'affichage utile (bordure autour)
screen = pygame.display.get_surface()
# taille de la zone d'affichage utile (bordure autour)
- dispWidth = screen.get_width() - 2 * BORDER
- dispHeight = screen.get_height() - 2 * BORDER
+
self.dispWidth =
dispWidth = screen.get_width() - 2 * BORDER
+
self.dispHeight =
dispHeight = screen.get_height() - 2 * BORDER
columnWidth = int(round(float(dispWidth) / self.keyboardLength))
columnWidth = int(round(float(dispWidth) / self.keyboardLength))